Expand my Community achievements bar.

Select email address from dropdown to submit livecycle form to

Avatar

Level 1

Hi

Im fairly new to livecycle.. i have a drop down list of names that the user will need to select a name from list. the binding on the dropdown list is set up with the value being the email address.  i would like it so that when they have selected the name from the list and then press submit the form is emailed to the person they have selected from the drop down.

i have looked into the 2 button submit method etc but cannot get it to work.

any help would greatly be appreciated.

second question - how do i then write a script to change what the email is going to say. (the form will be attached as a pdf) I would like in the actual email instructions on what the person who is being sent the form needs to do.

thanks

1 Reply

Avatar

Level 2

for my submits I use this does basically the same thing as a submit button

var email = emailDDL.rawValue

try {

bUI: true,

cTo: email,

cSubject: "your Subject",

cMsg: "your Msg"

cSubmitAs: "PDF"

}catch (e) {

// exception handling...

}