• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

350

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

Community Expert , 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.

Votes

Translate

Translate
Community Expert ,
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.

Votes

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

LATEST

Votes

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