Copy of Snippet "Dynamic if/else example (pro feature)"

This is an example of using forms and conditional text.

When using this snippet a form will pop-up for you to provide the student name and their score on the test.
The text entered depends on whether the score is above or below 60.

(This snippet uses Pro features)

Hello {formtext: name=student_name},
Your score on the test is {formtext: name=score; default=70}
{if: score > 60}Congratulations! You passed the test.
{else}Unfortunately, you didn't pass the test this time.
{endif}