Skip to end of metadata
Go to start of metadata

Templates Feature for Form Mail

 

Form Mail now allows you to create Templates for outgoing mails from the Mail Form using Mail Body Formatter Macro. These templates can be used to custom the format of output mails by introducing line breaks, sections & also formatting the output into sentences.

           

                      

When the above form is submitted, the output mail can be formatted into sentences using the Mail Body Formatter macro

 

        

 

 Instructions for Creating Line Breaks & Sections

 1. Create a basic mail form with your required fields

example: Insert a Mail input macro & give a Name & Label to the macro. 

2. Add a {Mail body formatter} macro to the same Mail form.

3. Set the Mail Body Formatter macro to default

When this has been set to default,  the names of all macros given in the mail form will appear in the Mail Body Formatter macro with hashtags in the format "#macroname" 

4. Line breaks, spaces and sections can be created by giving spaces after #macroname.

5. Save Page & Submit the form.

Line breaks will be created in the Output mail.

 Instructions for Creating Templates

 1. Create a basic mail form with your required fields. 

example: Insert a Mail inout macro & give a Name & Label to the macro. 

2. Add a {Mail body formatter} macro to the same Mail form.

3. You can create templates within the Mail Body Formatter macro and the output mail can be formatted into sentences by placing "#macroname". Please see the image below for detailed explanation.

 On typing "#" in the Mail Body Formatter macro, Variable Suggestions drop-down containing the macros used in the Mail Form will appear. 

4.  Select a macroname from the above Variable Suggestions drop-down that fits appropriately in your Template.

5. Save Page & Submit the form.

The output email will be in the form of a sentence as formatted in the Mail Body Formatter macro:

 Combination of Templates & Default content of the Mail form can also be used with Mail body Formatter Macro.

 You can set the Mail body Formatter macro to default, give line breaks and add templates 

 

The output mail will contain a combination of both 

 

 

  • No labels