Hello,
I have a form where there are 2 mutually exclusive radio buttons- changed the values to yes and no so that when one is selected a checkmark occurs, but the other cannot be selected.
Everything is fine except I would like the form to submit to different e-mail addresses depending on which radio button is selected.
For example: button 1- Brantford
button 2- Quincy
If brantford is selected I want the form to submit to email1 [at] konstant [dot] com
If quincy is selected I want the form to submit to email2 [at] konstant [dot] com
How do I make or insert variables or javascript to make this happen? This is not a webbased form yet, so I do not understand how or where to put the javascript/ html coding?!?
Please help!
Acrobat displays two different form types, AcroForms and LiveCycle forms. Assuming that you have an Acroform, then this article explains how to modify the email address at runtime.
http://www.acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script