when submitting form and there are required fields, how to show list?

Jul 11, 2019

Copy link to clipboard

Copied

when there are several fields required that are not filled out, how can i either list in the alert the fields and / or take the user to the first required field with a focus?

You would need to do the validation using a script. I've posted code on the JavaScript forum that does it. Try searching for "validate required fields" and you're sure to find it.

TOPICS
Acrobat SDK and JavaScript

Views

78

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

when submitting form and there are required fields, how to show list?

Jul 11, 2019

Copy link to clipboard

Copied

when there are several fields required that are not filled out, how can i either list in the alert the fields and / or take the user to the first required field with a focus?

You would need to do the validation using a script. I've posted code on the JavaScript forum that does it. Try searching for "validate required fields" and you're sure to find it.

TOPICS
Acrobat SDK and JavaScript

Views

79

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 11, 2019 0
Jul 11, 2019

Copy link to clipboard

Copied

You would need to do the validation using a script. I've posted code on the JavaScript forum that does it. Try searching for "validate required fields" and you're sure to find it.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 11, 2019 0
Adobe Employee ,
Jul 15, 2019

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 15, 2019 0