Form Variables
Learn how to use form variables in GenZform to personalize forms and reference field values.
Form variables let you reference field values anywhere in your form. Use them to personalize messages, create dynamic content, and display entered information back to users.
When to Use Form Variables
Form variables are helpful for:
- Personalizing thank you messages (e.g., "Thanks, {{name}}!")
- Showing entered values in later sections
- Creating confirmation summaries
- Dynamic content based on inputs
- Personalized follow-up questions
Variables make your forms feel personal and responsive to user input.
How to Use Variables
Ask the AI to include variable references:
Example prompts:
- "Show their name in the thank you message"
- "Reference the email they entered in the confirmation"
- "Include their selected plan in the summary"
- "Personalize the greeting with their first name"
Variable Syntax
Variables are referenced using double curly braces:
{{field_name}}Examples:
{{name}}- Displays the name field value{{email}}- Displays the email field value{{total}}- Displays a calculated total
Examples
Personalized Thank You
"Thank you, {{name}}! We'll contact you at {{email}} within 24 hours."Confirmation Summary
"Your Order Summary:
- Product: {{product}}
- Quantity: {{quantity}}
- Total: {{total}}"Dynamic Questions
"You selected {{plan}}. Would you like to add any features to your {{plan}} subscription?"Email Confirmation Reference
"We'll send a confirmation to {{email}}. Please check your inbox."Where to Use Variables
| Location | Example |
|---|---|
| Thank you page | "Thanks, {{name}}!" |
| Section headings | "Contact info for {{company}}" |
| Help text | "We'll email {{email}}" |
| Conditional text | Dynamic content based on selection |
| Calculations | Using values in formulas |
Frequently Asked Questions
What if the field is empty?
If a field is empty, the variable will show nothing or a fallback value if configured.
Can I use variables in email notifications?
Email notification customization is not currently available to users. The system handles email notifications automatically.
Can I format variable values?
Variable formatting (such as currency, date formats, etc.) is not currently available. Variables display values as-is without formatting options.