Problem:
Email Subject from Text Field.
Solution:
Email Subject from Text Field.
Solution:
- You need a regular button that calls this script when clicked. You cannot use built-in Email Submit Button
- Use can use this script for getting Subject from Text Field
var subject ="Invoice
number: " + txtInvoiceNumber.rawValue;
var myDoc =
event.target;
try {
myDoc.mailDoc({
bUI: false,
cTo: 'mah@test.ac.uk',
// Replace with actual receiver mail address.
cSubject: subject,
cSubmitAs: "PDF"
});
} catch (e) {
// exception handling...
}
No comments:
Post a Comment