Workflow for Sending Form Data To Email

Hi,

I have followed the instructions to Send Form Data To Email: Sending Form Data to Email

I have many other pages with the the same type form layout with a user being to submit their info to receive a shipping quote on a project. All of the form fields are the same & have identical IDs. Do I need to go thru the process of creating a unique Server Action for each page this form is on, or can I select the same Server Action I initially created for each of the other individual pages? I see that in the action I initially created, I linked to a specific form on a specific page.

Thanks.

Hi,

You can use the same Server Action. Linking form is just so you can import/export validations

OK, Thanks. :+1:

are there instructions available for how to format / style the actual email that is sent? I am able to successfully send & receive the email, it is however un-formatted & arrives as a single line text string.

E-mail formatting can be done with basic HTML tags such as <br> for making a newline, <b>some text</b> to make it bold...

Try this:

1 Like

Ok, Thank You for the help.

How would I add the simple HTML
etc. Would that be added to the Server Action Code?

How would I bind the form IDs or Labels to the email text so I know what data I am looking at?

The following image shows the Send Email Properties panel and an HTML email body.

Take the following steps:

  1. Choose File
  2. Choose the file
  3. Set the format to HTML
  4. Edit the email body
  5. & 6. These are the variables that you can put into the email body. Use the lightning bolt to select the variable.

I hope this helps.

1 Like

That works very well. Thank You.

1 Like