Hello Lloyd
Did you have any luck in finding a solution?
I have a requirement where in I select a district from the dropdown list and click on submit to email the form to that particular district's email address.
I added a dropdown list and for the exit event, I have:
if(DropDown.rawValue == "District 1")
{
email.value = "bob@somewhere.com"
}
(In the dropdown list properties, I have set rawtext and their values. eg: District 1 - email@address.com etc).
for the click event of submit button, I have
event.target.submitForm({cURL:'mailto:'+DropDownList1.value+'?subject='+subject.value+'&body='+body.value,cSubmitAs:"PDF",cCharset:"utf-8"});
I have created 2 variables body and subject and added some text values.
But I do not added what value to add to the email variable. I have tried adding my own email address and just the text "email". I am just getting the following error message.."Windows messaging does not recognize object XFAObject" and the name of this popup window is "Check Names"
I am using livecycle designer.