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

New Here ,
Jul 11, 2019 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?

TOPICS
Acrobat SDK and JavaScript

Views

90

Likes

translate

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
community guidelines

correct answers 1 Correct Answer

Most Valuable Participant , Jul 11, 2019 Jul 11, 2019
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

Translate
Most Valuable Participant ,
Jul 11, 2019 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

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
community guidelines
Adobe Employee ,
Jul 15, 2019 Jul 15, 2019

Copy link to clipboard

Copied

Likes

translate

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
community guidelines