Expand my Community achievements bar.

Email submit button issue

Avatar

Former Community Member

Hi Guys,

I have designed few forms recently and i am fairly new to livecyle, I have actually 2 issues, bit odd and i have tried to be as much discriptive as i can.

email submit button on all my forms works but it sends email to one perticular address and not to one that i programmed it to.

I.e. Form 1 - email to  email1@mycompany.com - when i press submit button it will send email to email1@mycompany.com

Form 2 - email to email2@mycompany.com - when i press submit button it will send email to email1@mycompany.com

Form 3 - email to email3@mycompany.com - when submit button is pressed it sends email to email1@mycompany.com

Now when i use this button on actual form it sends email to right addresse but it is obviously in XML format and wouldnt work for us, when i use button on distributed copy of the form (created via distribute form button) it sends email to wrong addresse in PDF formate (which is the formate we like).

Also whatever i put in Email Subject box - it will always put "submitting completed form" in the email subject line.

Not sure if it makes any different but we use outlook and i have tried this from several pcs.

I think i have cheked and rechecked everything and can't fix it, any help would be great.

Process i use to create this button is - Insert >standard>email submit, i will then put desired email address and email subject in relevant fields under Object pellette.

Thanks,

H

5 Replies

Avatar

Level 4

There are two ways to set the adress in LiveCycle I know:

1st is with the button itself, second is with Javascript/Formcalc.

If I got you right and you have 3 different forms you could search for the email1@mycompany.com adress in the xml's and exchange it there or check out where the form gains the mail adress from. It's the easiest method to get rid of something you are not that sure where it is located in the form but know what it does ;D . (I had some similar problem since I overtook forms of someone else.)

Did you check this thread out? http://forums.adobe.com/thread/462681?tstart=0

Paul gave an example there how to deal with the various things on mail buttons.

Edit: PS: On which event did you script it? Normally you can't script on the mail button itself so you need a fake button like Paul said.

I'm also not good with Reader Extensions, since I can't experiment with those sry

Avatar

Former Community Member

Thanks, strange but in design view i have definetly put in correct email address, in xml it was wrong, i changed it in xml and still form gets submitted to wrong email address...! I am lost.

Again when i use submit button on actual form it creates an xml file and tries to send it to correct email address, but after i distribute it using distribute form button, and use distributed copy of the same form, pressing submit button sends form in pdf to wrong email address.

Avatar

Level 4

Okey for the first one. Did you try out Paul's solution of a dropdown e-mail list?

You could also do this with a fixed or scripted value (it's even possible to make an e-mail chane). Normally it should overwrite whatever was written there first.

Hmm... I am not good in doing things with reader extensions since I never could try it ^^

I'll try to help you though... but better first find a solution for the first prob and then for the other one ;D

Avatar

Former Community Member

Can you post your form so we can see what you have done?

Paul

Avatar

Former Community Member

Hi Guys,

sorry for delay getting back, another go at changing email address in xml and i found 3 different entries and changed them all so button is working fine, still confused why it had wrong email address in the first place! I definetly put in correct one while designing, does this mean i will have to check xml everytime.!

Thanks again, i will mark question as answered for now.

H