Greetings. I am currently having an issue with Adobe 8 forms. I am using Livecycle to design the form and need two separate email buttons.
First I'd like to distribute the form to users to enable dataset collection.
I would like one email button for the user to send to analyst(s) and want the button to attach the form in PDF and prompt them to enter an email address. I don't want the form automatically sent to default addresses, because every user will have a different analyst.
The other email button would be for the analysts who verify the form, add fill out additional form fields, and then submit it using the submit button (linked to the distribute forms feature) in order to return ALL the data to me for analysis in a dataset.
I thought I could do this by creating one button for users and one button for data collection experts, but Livecycle balks at that idea. It only wants one email submission button.
Any help provided would be much appreciated. I am very new to Livecycle (just started last weekend) and need to create a form for my company ASAP. Thank you all in advance.
http://www.acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address
The article shows how to do this on an AcroForm, but the technique is exactly the same for LiveCycle Forms, the only difference is that you have to replace the document pointer "this" with "event.target".
For example:
this.submitForm(...)
Becomes
event.target.submitForm(...);
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