Hi,
LiveCycle's purpose-built submit buttons don't allow programming so I've made my own data submission button.
Here's the code on the button's click event:
var email = ************;
event.target.submitForm({
cURL: email,
cSubmitAs:"XML",
cCharSet:"utf-8"
});
So it functions as I want it to except that it uses a default subject of the xml file name. It's going to an email address, not a server, so for the purpose of possible debugging, I'd like to be able to have a dynamic subject field. Using the event.target.mailForm function, you can use the parameter cSubject.
Any ideas?
Thanks!
Views
Replies
Total Likes
Hi,
Have a look at the example here, which shows three approaches. The standard Submit by Email button, a Regular button with a submit type and a Regular button with a custom script.
Hope that helps,
Niall
Testing link...
Message was edited by: Niall O\'Donovan
Views
Replies
Total Likes