Copy link to clipboard
Copied
Hi,
I'm building a form that has checkboxes for "Yes" and "No" and a submit button that sends the form to an email address. This is what I want to happen:
Click the submit button.
If the "Yes" checkbox is selected, a popup message will say, "Please attach supporting documents to the email." Otherwise, it just generates the email.
The name of the checkbox is "Yes" and the name of the button is "Submit". I'm new to js, and I haven't been able to find the coding (or figure it out enough to modify it, I guess) to do this.
Copy link to clipboard
Copied
Hi there
Hope you are doing well and thanks for reaching out.
The workflow you are trying to achieve is might be possible using JavaScript. For more information please check the help pages listed below:
https://acrobatusers.com/tutorials/javascript_console/
https://helpx.adobe.com/acrobat/using/applying-actions-scripts-pdfs.html
Hope it will help
Regards
Amal
Copy link to clipboard
Copied
They know that already. This canned response is not very helpful...
Copy link to clipboard
Copied
So if the Yes checkbox is ticked it should not submit the form?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more