Skip to main content
Known Participant
May 1, 2018
解決済み

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.

このトピックへの返信は締め切られました。
解決に役立った回答 try67

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

返信数 8

try67
Community Expert
try67Community Expert解決!
Community Expert
May 1, 2018

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

rl56285997作成者
Known Participant
May 1, 2018

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.

Bernd Alheit
Community Expert
Community Expert
May 2, 2018

What JavaScript do you use at the first button?