Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Option

Description

{createdDate}

The date and time that the form was submitted

{formName}

The name of the Form this email is for

{email}

The email address of the recipient

{parentFirstName}

The first name of the application submitter

{parentLastName}

The last name of the application submitter

{studentFirstName}

 The first name of the application assignee

{studentLastName}

The last name of the application assignee

{school}

The name of the school the application is assigned to

{schoolEmail}

The email of the above school

{schoolPhone}

The phone number of the above school

{schoolDesc}

The description of the above school

{schoolAddress}

The address of the above school

{statusComment}

The comment that was written when the application was approved/denied

{hyperLink}

A link to the application that created this email in SchoolEngage

{parentPolling}

This will also contain the authentication used to allow a user to fill out a parent polling form without logging it.

Conditional Email Syntax

 It is possible to have different messages appear depending on the values in the form.  You can have many different conditional statements in your template, but they must not be nested (contained within each other).

 

In order do do this, you can use the following syntax: 

Code Block
{if(<field>==<value>)}

 

The if command will only show the content between it and the next command if the value in <field> matches <value>

Code Block
 {else if(<field>==<value>)}

 

The else if command functions identically as if, and is used for each additional condition after the first

Code Block
{else}

 

The else command will display the content between itself and {end} if none previous if or else if statements succeeded

Code Block
{end}

 

The command to close the final the final statement 

Code Block
!= 
Tip

instead of `==`, you can use `!=` as the command "Does Not Equal".

Full example

Code Block
{if($formField==yes)}

    Congratulations, you were accepted

{else if($formField2==no)}

    Sorry, try again

{else}

    No result yet

{end}

Testing your email templates

...