Skip to Content
0
Jan 11, 2011 at 02:02 PM

Dynamic Subject and Body while submitting form using email submit button

41 Views

Hi Experts,

I am using Email submit button for submitting form through email.

I am getting dynamic email id but when i tried to dynamic Subject and Body content, i got stuck with it.

I have used the below code

<submit format=u201Cxmlu201D target=u201Cmailto:userdomain.com
?subject=Custom Subject Lineu201D textEncoding=u201CUTF-8u201D/>

It works when i am hard coding the value in XML source but samething either with Static or dyanamic value is not working from Presubmit method .

I tried like below, Let me know any problem in below piece of code

this.resolveNode("#event.#submit").target = 
"mailto:"+ND.EMAIL_ID.rawValue"subject:"+ND.SUBJECT.rawValue;

I appreciate , if you could help on this issue.

Regards,

Kiruba.