Skip to main content
Participant
May 21, 2024
Question

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

  • May 21, 2024
  • 3 replies
  • 1553 views

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.   

This topic has been closed for replies.

3 replies

Participant
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.   

try67
Community Expert
Community Expert
May 22, 2024

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

Participant
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.

try67
Community Expert
Community Expert
May 21, 2024

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

Can you share the file with us?

Participant
May 22, 2024

I'm testing it with Adobe Acrobat.