Add Dynamic Variables to Your Forms in WordPress

Insert dynamic content into form fields and email templates with WS Form variables.

  • Dynamic form content Add dynamic content to supported parts of your form.
  • Default field values Use variables in default field values.
  • Email templates Insert variables into email templates.
  • Field lookup icon See available variables where they are supported.
  • Click to insert Insert a variable directly into the field you are editing.
  • Parameter support Use variables with single or multiple parameters.

WS Form variables let you add dynamic content to different parts of your form. You can use them in places such as default field values and email templates.

Areas that support variables include a field lookup icon. Click the icon to view available variables for that field and insert one into the value you are editing.

All variables start with the # character. Some variables accept parameters, including multiple parameters, and values containing commas can be enclosed in double quotes.

  • Use dynamic values

    Add dynamic content to various elements of your form instead of entering only static text.

  • Set default values

    Variables can be used in default field values to populate supported fields dynamically.

  • Build smarter emails

    Use variables in email templates to include dynamic content in your form notifications.

  • Find supported areas

    Areas where variables can be used are marked with a field lookup icon.

  • Browse available variables

    Clicking the field lookup icon shows a list of available variables below the corresponding field.

  • Insert with one click

    Click a variable in the list to insert it into the field you are editing.

  • Simple variable format

    WS Form variables begin with the # character, such as #blog_name.

  • Flexible parameters

    Some variables accept additional parameters, including multiple values separated by commas.

Real Customer Reviews

Trusted by thousands of WordPress professionals.

  • The WS-Forms team has built a powerful forms application and they keep improving it with each release. I recommend WS-Form over all other WordPress options! Excellent product and amazing team behind it!

    amendment
  • Every question I’ve asked has been quickly answered in a concise and polite manner. WS Form is a five-star piece of software, but the support behind it is nothing less that stellar.

    ap24
  • WS Form is by far the best WordPress form I have used. Without WS Form I would have required a bespoke solution.

    kassim786

Frequently Asked Questions

What are dynamic variables in WS Form?

WS Form variables let you add dynamic content to various elements of your form, such as default field values and email templates.

Where can I use variables in WS Form?

You can use variables in supported areas such as default field values and email templates. Areas that support variables are accompanied by a field lookup icon.

How do I use dynamic variables in WS Form?

In a field that supports variables, click the field lookup icon to view the available variables below that field. Click a variable to insert it into the field you are editing. You can also see the full variables reference here: Variables Reference.

How do WS Form variables start?

All WS Form variables start with the # character.

Can WS Form variables use parameters?

Yes. Some variables take additional parameters, such as #field(123). If a variable takes more than one parameter, separate the values with commas.

How do I include a comma in a variable parameter?

If a variable parameter contains a comma, encase that value in double quotes.