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

Required fields not being validated before 'submit a form' action is taken

New Here ,
May 21, 2024 May 21, 2024

Created a fill-in pdf form using Adobe Acrobat with several required fields and then a submit button using the 'submit a form' action.   The pdf form will submit even though a required input field hasn't been completed.  It works just fine and gives an error message when all required fields aren't completed, but as soon as one required field is completed (but other required field are not completed), it submits the form.   I don't want them to be able to submit unless all required fields are complete.   

TOPICS
PDF forms
1.6K
Translate
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
Community Expert ,
May 21, 2024 May 21, 2024

Are you testing it in Adobe Acrobat or Reader, or some other PDF viewer?

Can you share the file with us?

Translate
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
New Here ,
May 22, 2024 May 22, 2024
LATEST

I'm testing it with Adobe Acrobat.

Translate
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
Community Expert ,
May 22, 2024 May 22, 2024

Not true. The built-in "Submit a form" command should perform this validation. No script is needed.

Translate
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
New Here ,
May 22, 2024 May 22, 2024

Yes,  I've used this before for many forms, and the 'Submit a Form' action always validated that there was entry in the required fields, but it doesn't seem to be working now with the same field properties.   Not sure why.   Thank you.

Translate
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
New Here ,
May 22, 2024 May 22, 2024

Thank you.  On all my prior forms, I have used the 'submit a form' function and it has always validated all required fields prior to allowing the submit, and I never used java script.   Not sure why it isn't working now.   

Translate
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