Skip to main content
Known Participant
May 1, 2018 5:25 PM UTC
Answered

I have a pdf fillable document, created in Adobe Acrobat xi Pro, it has 1 required field (1st Purcahser) and 2 submit buttons. I need the first Button to not validate the field and allow submission. The second button should validate the field befo

I have a pdf fillable document, created in Adobe Acrobat xi Pro, it has 1 required field (1st Purcahser) and 2 submit buttons.   I need the first Button to not validate the field and allow submission.  The second button should validate the field before it will submit.   I have yet to find the correct javascript to do this.

This topic is closed to new replies. Start a new post to keep the conversation going.
try67
try67Correct answer
Community Expert
May 1, 2018 6:49 PM UTC

Use the mailDoc command in the first button. It doesn't validate the required fields.

8 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
May 1, 2018 6:49 PM UTC

Use the mailDoc command in the first button. It doesn't validate the required fields.

Translate
Known Participant
May 1, 2018 6:59 PM UTC

Thank You for the reply but,

I have the Mailto function on the button.  however, upon selecting I get the error message that the required field is blank and upon selecting ok it closes and you are taken to the field.......

the code for validating a field is working correctly for the second button.

Translate
Bernd Alheit
Community Expert
Community Expert
May 2, 2018 5:49 AM UTC

What JavaScript do you use at the first button?

Translate