Help to create a Button that creates an HTML or richtext email from form field information

Avatar

Avatar

Labreclo

Avatar

Labreclo

Labreclo

04-10-2020

Hello,

 

I am using LiveCycle ES4. I am looking for a way to create a button that, when clicked, it opens up an Outlook email and populates the body with information from the form fields. I have only been able to accomplish this with plain text (therefore no text formatting options). I DO NOT want to just attached the forms to the email. Eg. Family name, First name, DOB...etc are filled out on the form and when the button is clicked, it will create an addressed email with the abovementioned fields but perhaps in different colours or bolded. 

 

Thank you

Louis

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

radzmar

MVP

Avatar

radzmar

MVP

radzmar
MVP

12-10-2020

Hi Louis,

 

you can't create Rich Text formatted e-mails through the JavaScript API, just plain text is possible. 

Avatar

Avatar

Mayank_Gandhi

Avatar

Mayank_Gandhi

Mayank_Gandhi

08-10-2020

@Labreclo Why don't you submit the data to a webservice with data and let that trigger the email for you. Handling the rich text externally would be easier for you. If you have es4 server then we can have a different approach.