3rd Step: Configuring - Thank you page

Top  Previous  Next

As we would like to have custom thank you page we need to prepare it before dealing with email template and config file.

So, on the thank you page we want to put something like this:

 

Dear (here we would like to put filler's name),
Thank you for interest in our company. We will reply as soon as possible!
Auto-responder email has been sent to (here we would like to put filler's email).

Initial HTML code for the Preview Page:

 

<html>

<head>

<title>My Contact Form - Thank you!</title>

</head>

<body>

<p>Dear (here we would like to put filler's name),</p>

<p>Thank you for interest in our company. We will reply as soon as possible!</p>

<p>Auto-responder email has been sent to (here we would like to put filler's email).</p>

</body>

</html>

In order to insert any variables dynamically we need to use {# and #} brackets. Inside these brackets we need to put appropriate variable name. Variable is the name of the corresponding field in our form. In our case we should use “name” and “email” accordingly. So we will have the following changes in our HTML code for the Thank You Page:

HTML code for the Thank You page with highlighted changes:

 

<html>

<head>

<title>My Contact Form - Thank you!</title>

</head>

<body>

<p>Dear {#name#},</p>

<p>Thank you for interest in our company. We will reply as soon as possible!</p>

<p>Auto-responder email has been sent to {#email#}.</p>

</body>

</html>

Thank you page saved as: thank-you.html