These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Form sending data to incorrect recipient

ccardimon
Registered: Dec 21 2006
Posts: 28

I was testing a form I fixed up in LiveCycle Designer. All well and good. It looks okay and all the field are fillable.

I put myself in as the recipient of results for testing purposes. I got the results I thought I should get.

I changed the email address associated with the Submit button to that of the HR person for whom I edited the form. I distributed the form to that person for testing.

Problem is, I keep getting the data. When I bring up the form in LiveCycle Designer, the HR person's email is right there where I put it in the properties of the Submit button.

But when I go to the PDF preview and hit Submit, the pop-up box says the data is coming to me!

What is going on here? I am unable to get the data to go to the HR person. It insists on coming to me.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Did you save the form after changing the email address and before testing it out? Have you tried testing it in the full Acrobat? Are you sure you are changing the correct thing?

Did you use the "Form Distribution" wizard to send out the original form? If you did then you'll need to re-run the form through the Wizard for the new return 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/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

ccardimon
Registered: Dec 21 2006
Posts: 28
thomp wrote:
Did you save the form after changing the email address and before testing it out?
Good question, and yes.

thomp wrote:
Have you tried testing it in the full Acrobat?
I assume you mean Acrobat and not Reader? Yes, I think so, but I'll try it again.

thomp wrote:
Are you sure you are changing the correct thing?
Yes, that would be be very easy to screw up. I'm sure I did, but I will double-check.

thomp wrote:
Did you use the "Form Distribution" wizard to send out the original form?
Yes, I did. I thought I had to. What else could I use to send out the form?

thomp wrote:
If you did then you'll need to re-run the form through the Wizard for the new return address.
Okay, this might be the clincher. Why?
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The "Form Distribution" functionality is Adobe's answer to simple forms data handling. The Wizard does a number of things. It creates a collection document for recieving all the returned forms, it adds some special under the covers features to the PDF so it's recognized as being a "Distributed" form, it modifies the "Submit" button on the form to send data to only a single return address, and it add "Reader Enables" the form with Save Rights.

This last one is probably whats tripping you up. The wizard should save the modifidy for distribution form into a new file name, i.e. "_pub_0001.pdf". Because this file is Reader Enabled it cannot be modified beyond filling out the form fields. Trying to modify the form will just cause problems. If you want to change the return address you have to modify the original form and run it through the Distribution Wizard again. You'll also need to transfer the "_dataset_001.pdf" file to the person that recieves the returned form data or they won't be able to collect the responses.

But, you don't have to use the "Distribute Forms" fucntionality at all. You can just email out the original form or post it to the internet. The form itself will work exactly like the "Distributed" form. The difference is that Acrobat won't handle the returned data for you.

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/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

ccardimon
Registered: Dec 21 2006
Posts: 28
Yes, indeed, the last one did trip me up. Thanks for clearing that up.

Is this intimate knowledge, this minutia, actually posted anywhere?
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Hmm, I don't know that the minutia of data handling and form distribution is well explained in any one place. The mechanisms are diverse and so the documentation is also diverse. A lot is also implied, or undocumented. This is on the list of topics for www.pdfscripting.com. Hopefully one day, I'll have a good coprehensive reference on data handling.

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/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script