Drop Down List With Multiple Email Addresses

Avatar

15-12-2008

I created a form which requires users to choices from a drop down list. I want to associate their choice with a specific email address and then submit the completed .pdf form to the specified email address. I have tried writing a Java Script to accomplish this selection but have failed to make the operation work. Help!! Thanks.

Replies

Avatar

03-02-2009

please send me an example to send a complete livecycle pdf form to a dynamic email



aymanr@emeco.com

Avatar

03-02-2009

Hi Paul,

could you send me the example too?

Thanks



etienne.depasse@forem.be

Avatar

Avatar

Allta_Media

Avatar

Allta_Media

Allta_Media

04-02-2009

I've posted a copy of Paul's example on Acrobat.com at:

https://share.acrobat.com/adc/adc.do?docid=b8f2b6d3-edcf-4503-bc5b-d934db9e9e24

Avatar

04-02-2009

Dear Paul



Thanks, it worked also I could made the subject dynamic easily



many thanks

Avatar

Avatar

_Nojun_Kmail_

Avatar

_Nojun_Kmail_

_Nojun_Kmail_

12-03-2009

Thanks for posting it, Ikassuba.



Thanks for creating it, Paul.



I'll look forward to studying it.

Avatar

Avatar

_Nojun_Kmail_

Avatar

_Nojun_Kmail_

_Nojun_Kmail_

12-03-2009

Dear Paul, this works indeed!!! I've now created my first ever form. Thanks very much!!!

Avatar

Avatar

_Nojun_Kmail_

Avatar

_Nojun_Kmail_

_Nojun_Kmail_

12-03-2009

Paul,

Would you also know how to change within the script that you developed the submit email's subject line, text body, and cc field? I've tried to copy script I've found in different forums but it doesn't seem to work in this particular case. Would you, or anyone in this forum know, how to adapt the script?




RealEmail.event__click.submit.target = "mailto:" + DropDownList1.rawValue;

RealEmail.execEvent("click");

} else {

app.alert("Please select a choice from the drop-down list!");

}





PS: I've specifically tried to add this line, but to no avail:

+ "cc:" + repository@test.com + "subject:" + subjectText + "body:" + bodyText

Avatar

13-03-2009

I fixed the cc with binding it to a checkbox that asks if the user wants a cc and a ";"



Looks like this: {RealEmail.event__click.submit.target = "mailto:" + DropDownList1.rawValue + ";" + Kontroll.rawValue;

RealEmail.execEvent("click");}



Doesn't use the CC field but sends the mail to all the mail-adresses you add like this. Hope that at least helped somehow 🙂



For the rest... humm... I am not sure, didn't try it, but shouldn't you write it all in " " since it is text?



Lisa



PS.: This fake-button is kinda the big brother of PDF ;D

*is now able to control all the input presending* *muhar*

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

13-03-2009

Nojun - if you do a search on the web for mailto it will show you the structure that is required to pass a subject, message etc for the mail message. I think you will find that you need a ? to separate the parts of your mail message.