WS Form variables enable you to add dynamic content to various elements of your form such as default field values and email templates.
Looking for some of our most commonly used variables? Check out our Variable Cheat Sheet!
Areas where WS Form variables can be used are accompanied by a field lookup icon. By clicking this icon, a list of the available variables will be shown below the corresponding field. Clicking on a variable will insert it into the field you are editing.
All WS Form variables start with the #
character. For example:
#blog_name
Some variables take additional parameters. For example:
#field(123)
If a variable takes more than one parameter, you separate those values with a comma. For example:
#email_submission(true,true,true)
If a variable parameter contains a comma, you should encase it in double quotes. For example:
#server_date_custom("d m, Y")
WS Form Variable List
The following variables are available for use in WS Form.
- Author
- Blog
- Calculation
- Character
- Checkbox
- Client
- Conditional
- Cookies
- Data Grid Rows
- Date
- E-Commerce
- Field
- Form
- Freshdesk
- HTTP
- Hash
- InstaWP
- Local Storage
- Math
- Number
- OpenAI
- Post
- Progress
- Radio
- Random Numbers
- Random Strings
- Search
- Seconds
- Section
- Section Rows
- Select
- Server
- Session Storage
- Skin
- String
- Stripe Elements
- Submission
- Tab
- Text
- Tracking
- URL
- User
- Word
- Zendesk
Blog
Name / Variable | Additional Information |
---|---|
Admin Email#blog_admin_email | Returns the Administrator Email Address setting in WordPress Settings > General. |
Character Set#blog_charset | Returns the site character set. |
Current Date#blog_date | Returns the blog time formatted according to the Time Format setting found in WordPress Settings > General. For more information about this variable, click here. |
Custom Date#blog_date_custom("format", seconds_offset) | Returns the blog date and time in the specified format (PHP date format). For more information about this variable, click here. |
Language#blog_language | Returns the Language setting in WordPress Settings > General. |
Name#blog_name | Returns the Site Title setting in WordPress Settings > General. |
Current Time#blog_time | Returns the blog time formatted according to the Date Format setting found in WordPress Settings > General. For more information about this variable, click here. |
URL#blog_url | Returns the WordPress Address (URL) setting in WordPress Settings > General. |
Calculation
Name / Variable | Additional Information |
---|---|
Calculation#calc(calculation) | Returns the calculated value. For more information about this variable, click here. |
Character
Name / Variable | Additional Information |
---|---|
Count#character_count | Returns the total character count. For more information about this variable, click here. |
Count Label#character_count_label | Returns 'character' or 'characters' depending on the character count. For more information about this variable, click here. |
Maximum#character_max | Returns the maximum character length that you set for a field. For more information about this variable, click here. |
Maximum Label#character_max_label | Returns 'character' or 'characters' depending on the maximum character length. For more information about this variable, click here. |
Minimum#character_min | Returns the minimum character length that you set for a field. For more information about this variable, click here. |
Minimum Label#character_min_label | Returns 'character' or 'characters' depending on the minimum character length. For more information about this variable, click here. |
Count Remaining#character_remaining | If you set a maximum character length for a field, this will return the total remaining character count. For more information about this variable, click here. |
Count Remaining Label#character_remaining_label | If you set a maximum character length for a field, this will return the total remaining character count. For more information about this variable, click here. |
Checkbox
Name / Variable | Additional Information |
---|---|
Checkbox Count#checkbox_count(field_id) | Use this variable to return the number of checkboxes that have been checked for a field. For example: #checkbox_count(123) where '123' is the field ID shown in the layout editor. For more information about this variable, click here. |
Checkbox Label#checkbox_label(field_id, "delimiter") | Use this variable to insert the label of a checkbox field on your form. For example: #checkbox_label(123) where '123' is the field ID shown in the layout editor. For more information about this variable, click here. |
Client
Name / Variable | Additional Information |
---|---|
Current Date#client_date | Returns the users web browser local date according to the Date Format setting found in WordPress Settings > General. For more information about this variable, click here. |
Custom Date#client_date_custom("format", seconds_offset) | Returns the users web browser local date and time in the specified format (PHP date format). For more information about this variable, click here. |
Current Time#client_time | Returns the users web browser local time according to the Time Format setting found in WordPress Settings > General. For more information about this variable, click here. |
Conditional
Name / Variable | Additional Information |
---|---|
End of IF condition.#endif | End of IF condition. For more information about this variable, click here. |
Start of IF condition.#if("condition") | Start of IF condition. For more information about this variable, click here. |
Data Grid Rows
Name / Variable | Additional Information |
---|---|
Action Variable Column#data_grid_row_action_variable | Use this variable within a data grid row to insert the text found in the action variable column. For more information about this variable, click here. |
Label Column#data_grid_row_label | Use this variable within a data grid row to insert the text found in the label column. For more information about this variable, click here. |
Price Column#data_grid_row_price | Use this variable within a data grid row to insert the text found in the price column. For more information about this variable, click here. |
Price Column (With Currency)#data_grid_row_price_currency | Use this variable within a data grid row to insert the text found in the price column formatted using the currency settings. For more information about this variable, click here. |
Value Column#data_grid_row_value | Use this variable within a data grid row to insert the text found in the value column. For more information about this variable, click here. |
WooCommerce Cart Column#data_grid_row_wocommerce_Cart | Use this variable within a data grid row to insert the text found in the WooCommerce cart column. For more information about this variable, click here. |
Date
Name / Variable | Additional Information |
---|---|
Format a date string#date_format("date", "format") | Return a date formatted according to the PHP date function. The date supplied must be in a supported format such as ISO 8601, for example: 2024-12-06T20:48:29+00:00. For field related date formatting, see: #field_date_format |
E-Commerce
Name / Variable | Additional Information |
---|---|
Discount#ecommerce_cart_discount | Excludes currency symbol. For more information about this variable, click here. |
Discount (Currency)#ecommerce_cart_discount_currency | Includes currency symbol. For more information about this variable, click here. |
Discount (Span)#ecommerce_cart_discount_span | Excludes currency symbol. For more information about this variable, click here. |
Discount (Span Currency)#ecommerce_cart_discount_span_currency | Includes currency symbol. For more information about this variable, click here. |
Gift Wrap#ecommerce_cart_gift_wrap | Excludes currency symbol. For more information about this variable, click here. |
Gift Wrap (Currency)#ecommerce_cart_gift_wrap_currency | Includes currency symbol. For more information about this variable, click here. |
Gift Wrap (Span)#ecommerce_cart_gift_wrap_span | Excludes currency symbol. For more information about this variable, click here. |
Gift Wrap (Span Currency)#ecommerce_cart_gift_wrap_span_currency | Includes currency symbol. For more information about this variable, click here. |
Handling Fee#ecommerce_cart_handling_fee | Excludes currency symbol. For more information about this variable, click here. |
Handling Fee (Currency)#ecommerce_cart_handling_fee_currency | Includes currency symbol. For more information about this variable, click here. |
Handling Fee (Span)#ecommerce_cart_handling_fee_span | Excludes currency symbol. For more information about this variable, click here. |
Handling Fee (Span Currency)#ecommerce_cart_handling_fee_span_currency | Includes currency symbol. For more information about this variable, click here. |
Insurance#ecommerce_cart_insurance | Excludes currency symbol. For more information about this variable, click here. |
Insurance (Currency)#ecommerce_cart_insurance_currency | Includes currency symbol. For more information about this variable, click here. |
Insurance (Span)#ecommerce_cart_insurance_span | Excludes currency symbol. For more information about this variable, click here. |
Insurance (Span Currency)#ecommerce_cart_insurance_span_currency | Includes currency symbol. For more information about this variable, click here. |
Other#ecommerce_cart_other | Excludes currency symbol. For more information about this variable, click here. |
Other (Currency)#ecommerce_cart_other_currency | Includes currency symbol. For more information about this variable, click here. |
Other (Span)#ecommerce_cart_other_span | Excludes currency symbol. For more information about this variable, click here. |
Other (Span Currency)#ecommerce_cart_other_span_currency | Includes currency symbol. For more information about this variable, click here. |
Shipping#ecommerce_cart_shipping | Excludes currency symbol. For more information about this variable, click here. |
Shipping (Currency)#ecommerce_cart_shipping_currency | Includes currency symbol. For more information about this variable, click here. |
Shipping Discount#ecommerce_cart_shipping_discount | Excludes currency symbol. For more information about this variable, click here. |
Shipping Discount (Currency)#ecommerce_cart_shipping_discount_currency | Includes currency symbol. For more information about this variable, click here. |
Shipping Discount (Span)#ecommerce_cart_shipping_discount_span | Excludes currency symbol. For more information about this variable, click here. |
Shipping Discount (Span Currency)#ecommerce_cart_shipping_discount_span_currency | Includes currency symbol. For more information about this variable, click here. |
Shipping (Span)#ecommerce_cart_shipping_span | Excludes currency symbol. For more information about this variable, click here. |
Shipping (Span Currency)#ecommerce_cart_shipping_span_currency | Includes currency symbol. For more information about this variable, click here. |
Subtotal#ecommerce_cart_subtotal | Excludes currency symbol. For more information about this variable, click here. |
Subtotal (Currency)#ecommerce_cart_subtotal_currency | Includes currency symbol. For more information about this variable, click here. |
Subtotal (Span)#ecommerce_cart_subtotal_span | Excludes currency symbol. For more information about this variable, click here. |
Subtotal (Span Currency)#ecommerce_cart_subtotal_span_currency | Includes currency symbol. For more information about this variable, click here. |
Tax#ecommerce_cart_tax | Excludes currency symbol. For more information about this variable, click here. |
Tax (Currency)#ecommerce_cart_tax_currency | Includes currency symbol. For more information about this variable, click here. |
Tax (Span)#ecommerce_cart_tax_span | Excludes currency symbol. For more information about this variable, click here. |
Tax (Span Currency)#ecommerce_cart_tax_span_currency | Includes currency symbol. For more information about this variable, click here. |
Total#ecommerce_cart_total | Excludes currency symbol. For more information about this variable, click here. |
Total (Currency)#ecommerce_cart_total_currency | Includes currency symbol. For more information about this variable, click here. |
Total (Span)#ecommerce_cart_total_span | Excludes currency symbol. For more information about this variable, click here. |
Total (Span Currency)#ecommerce_cart_total_span_currency | Includes currency symbol. For more information about this variable, click here. |
Currency Symbol#ecommerce_currency_symbol | Returns the current currency symbol. For more information about this variable, click here. |
Field Value as Price#ecommerce_field_price(field_id) | Use this variable to insert the value of a price field on your form. For example: #field(123) where '123' is the field ID shown in the layout editor. This variable will neatly format a currency value according to your E-Commerce settings. An example output might be: $123.00 For more information about this variable, click here. |
Payment Method#ecommerce_payment_method | Excludes currency symbol. For more information about this variable, click here. |
Value as Price#ecommerce_price(price) | Convert the number input to a price that matches the configured e-commerce currency settings. An example output might be: $123.00 For more information about this variable, click here. |
Order Status#ecommerce_status | Excludes currency symbol. For more information about this variable, click here. |
Transaction ID#ecommerce_transaction_id | Excludes currency symbol. For more information about this variable, click here. |
Name / Variable | Additional Information |
---|---|
Character set#email_charset | Returns the email character set. For more information about this variable, click here. |
Content type#email_content_type | Returns the email content type. For more information about this variable, click here. |
E-Commerce Values#email_ecommerce | Returns a list of the e-commerce transaction details such as total, transaction ID and status fields. For more information about this variable, click here. |
Logo#email_logo | Returns the email logo specified in WS Form Settings > Variables. For more information about this variable, click here. |
Subject#email_subject | Returns the email subject line. For more information about this variable, click here. |
Submitted Fields#email_submission(tab_labels, section_labels, field_labels, blank_fields, static_fields) | Returns a list of the fields captured during a submission. You can either use: #email_submission or provide additional parameters to toggle tab labels, section labels, blank fields and static fields (such as text or HTML areas of your form). Specify 'true' or 'false' for each parameter, for example: #email_submission(true, true, false, true, true) For more information about this variable, click here. |
Tracking data#email_tracking | Returns a list of all the enabled tracking data that was captured when the form was submitted. For more information about this variable, click here. |
Field
Name / Variable | Additional Information |
---|---|
Field Value#field(field_id, "delimiter", "column") | Use this variable to insert the value of a field on your form. For example: #field(123) where '123' is the field ID shown in the layout editor. If delimiter specified, fields with multiple values (e.g. checkboxes) will be separated by the specified delimiter. If column is specified it will return the value found in that data grid column. The value of column can be the column label or index (starting with 0). |
Count the Number of Characters in a Field#field_count_char(field_id, "regex_filter") | Use this variable to insert the number of characters in a field on your form. For example: #calc(#field_count_char(123)) where '123' is the field ID shown in the layout editor. Optionally specify a JavaScript regex to filter the characters included in the calculation. For example: #calc(#field_count_char(123, "/[^0-9a-z]/gi")) . |
Count the Number of Words in a Field#field_count_word(field_id, "regex_filter") | Use this variable to insert the number of words in a field on your form. For example: #calc(#field_count_word(123)) where '123' is the field ID shown in the layout editor. Optionally specify a JavaScript regex to filter the characters included in the calculation. |
Field Date Formatted#field_date_format(field_id, "format") | Return a field formatted according to the PHP date function. |
Field Date Adjusted by Offset in Seconds#field_date_offset(field_id, seconds_offset, "format") | Return a date adjusted by an offset in seconds. |
Field Value as Floating Point Number#field_float(field_id) | Use this variable to insert the value of a field on your form as a floating point number. For example: #field(123) where '123' is the field ID shown in the layout editor. This can be used to convert prices to floating point numbers. An example output might be: 123.45 |
Field Label#field_label(field_id) | Returns the field label by ID. |
Field ID with Max Value#field_max_id(field_id) | Use this variable to return the ID of the field containing highest value. For example: #calc(#field_max_id(5, 6, 7, 8)) . This would check fields IDs 5, 6, 7, and 8 and return the field ID containing the highest value. |
Field Label with Max Value#field_max_label(field_id) | Use this variable to return the label of the field containing highest value. For example: #calc(#field_max_id(5, 6, 7, 8)) . This would check fields IDs 5, 6, 7, and 8 and return the field label containing the highest value. |
Maximum Value of Fields#field_max_value(field_id) | Use this variable to return the highest value for the supplied field IDs. For example: #calc(#field_max_value(5, 6, 7, 8)) . This would check fields IDs 5, 6, 7, and 8 and return the highest value contained within those fields. |
Field ID with Min Value#field_min_id(field_id) | Use this variable to return the ID of the field containing lowest value. For example: #calc(#field_min_id(5, 6, 7, 8)) . This would check fields IDs 5, 6, 7, and 8 and return the field ID containing the lowest value. |
Field Label with Min Value#field_min_label(field_id) | Use this variable to return the label of the field containing lowest value. For example: #calc(#field_min_id(5, 6, 7, 8)) . This would check fields IDs 5, 6, 7, and 8 and return the field label containing the lowest value. |
Minimum Value of Fields#field_min_value(field_id) | Use this variable to return the minimum value for the supplied field IDs. For example: #calc(#field_min_value(5, 6, 7, 8)) . This would check fields IDs 5, 6, 7, and 8 and return the lowest value contained within those fields. |
Form
Name / Variable | Additional Information |
---|---|
Checksum#form_checksum | Returns the form checksum. |
Framework#form_framework | Returns the current framework being used to render the form. |
ID#form_id | Returns the ID of the form. |
Instance ID#form_instance_id | Returns the form instance ID. For more information about this variable, click here. |
Label#form_label | Returns the form label. |
DOM Selector ID#form_obj_id | Returns the DOM selector ID of the form element. For more information about this variable, click here. |
Freshdesk
Name / Variable | Additional Information |
---|---|
Ticket ID#freshdesk_ticket_id | Returns the ID of the created ticket. |
Ticket URL#freshdesk_ticket_url | Returns the URL of the created ticket in your Freshdesk account. Do not use this URL in any communications to the person submitting the ticket. |
HTTP
Name / Variable | Additional Information |
---|---|
Post Key Value#post_var("key") | Returns the value of the supplied POST key. |
Query String Parameter Value#query_var("parameter", "default_value") | Returns the value of the supplied query string parameter. |
Request URL#request_url | Returns the current request URL. |
Hash
Name / Variable | Additional Information |
---|---|
MD5#hash_md5("string") | Returns the MD5 hash of the input string. Server-side only. |
SHA-256#hash_sha256("string") | Returns the SHA-256 hash of the input string. Server-side only. |
InstaWP
Name / Variable | Additional Information |
---|---|
Site ID#instawp_site_id | Returns the ID of the site created. |
Site password#instawp_site_password | Returns the administrator password of the site created. |
Site URL#instawp_site_url | Returns the URL of the site created. |
Site Auto Login URL#instawp_site_url_auto_login | Returns the auto login URL of the site created. |
Site username#instawp_site_username | Returns the administrator username of the site created. |
Local Storage
Name / Variable | Additional Information |
---|---|
Get local storage key value#local_storage_get("key") | Returns the value of a local storage key. |
Math
Name / Variable | Additional Information |
---|---|
Absolute#abs(number) | Returns the absolute value of a number. For more information about this variable, click here. |
Inverse Cosine#acos(number) | Returns the inverse cosine of a number in radians. For more information about this variable, click here. |
Inverse Sine#asin(number) | Returns the inverse sine of a number in radians. For more information about this variable, click here. |
Inverse Tangent#atan(number) | Returns the inverse tangent of a number in radians. For more information about this variable, click here. |
Average#avg(number) | Returns the average of all the input numbers. For more information about this variable, click here. |
Ceiling#ceil(number) | Rounds a number up to the next largest whole number. For more information about this variable, click here. |
Cosine#cos(radians) | Returns the cosine of a radian number. For more information about this variable, click here. |
Euler's#exp(number) | Returns E to the power of a number. For more information about this variable, click here. |
Floor#floor("number") | Returns the largest integer value that is less than or equal to a number. For more information about this variable, click here. |
Logarithm#log(number) | Returns the natural logarithm of a number. For more information about this variable, click here. |
Maximum#max(number) | Returns the maxiumum value of the supplied numbers. For more information about this variable, click here. |
Minimum#min(number) | Returns the lowest value of the supplied numbers. For more information about this variable, click here. |
Negative#negative(number) | Returns 0 if positive, or original value if negative. For more information about this variable, click here. |
PI#pi | Returns an approximate value of PI. For more information about this variable, click here. |
Positive#positive(number) | Returns 0 if negative, or original value if positive. For more information about this variable, click here. |
Base to the Exponent Power#pow(base, exponent) | Returns the base to the exponent power. For more information about this variable, click here. |
Round#round(number, decimals) | Returns the rounded value of a number. For more information about this variable, click here. |
Sine#sin(radians) | Returns the sine of a radian number. For more information about this variable, click here. |
Square Root#sqrt(number) | Returns the square root of the number. For more information about this variable, click here. |
Tangent#tan(radians) | Returns the tangent of a radian number. For more information about this variable, click here. |
Number
Name / Variable | Additional Information |
---|---|
Format Number#number_format(number, decimals, "decimal_separator", "thousand_separator") | Returns a number with grouped thousands. Same as the PHP number_format function. |
OpenAI
Name / Variable | Additional Information |
---|---|
Output#openai_completion_tokens | Returns the completion token count from OpenAI. |
Input#openai_input | Returns the input for OpenAI. |
Output#openai_mode | Returns the OpenAI mode. |
Output#openai_output | Returns the output from OpenAI. |
Prompt Tokens#openai_prompt_tokens | Returns the prompt token count from OpenAI. |
Output#openai_total_tokens | Returns the total token count from OpenAI. |
Name / Variable | Additional Information |
---|---|
PDF Link (Download)#pdf_link | Returns a 'Download PDF' link to the PDF. |
PDF Link (View)#pdf_link_view | Returns a 'View PDF' link to the PDF. |
PDF URL (Download)#pdf_url | Returns the URL to the PDF. URL downloads the PDF. |
PDF URL (View)#pdf_url_view | Returns the URL to the PDF. URL shows the PDF in the browser. |
Post
Name / Variable | Additional Information |
---|---|
Content#post_content | Returns the post content. |
Date#post_date | Returns the post date according to the Date Format setting found in WordPress Settings > General. |
Post Custom Date#post_date_custom("format", seconds_offset) | Returns the post date and time in the specified format (PHP date format). For more information about this variable, click here. |
Excerpt#post_excerpt | Returns the post excerpt. |
ID#post_id | Returns the post ID. |
Meta Value#post_meta("key") | Returns the post meta value for the key specified. |
Slug#post_name | Returns the post slug. |
Status#post_status | Returns the post status. |
Time#post_time | Returns the post time according to the Time Format setting found in WordPress Settings > General. |
Title#post_title | Returns the post title. |
Type#post_type | Returns the post type. |
Public URL#post_url | Returns the post URL. |
Admin URL#post_url_edit | Returns the post admin URL. |
Progress
Name / Variable | Additional Information |
---|---|
Number (0 to 100)#progress | Returns the progress as number from 0 to 100. For more information about this variable, click here. |
Percent (0% to 100%)#progress_percent | Returns the progress as a percentage from 0% to 100%. For more information about this variable, click here. |
Number Remaining (100 to 0)#progress_remaining | Returns the remainig progress as number from 0 to 100. For more information about this variable, click here. |
Percent Remaining (100% to 0%)#progress_remaining_percent | Returns the remaining progress as a percentage from 0% to 100%. For more information about this variable, click here. |
Radio
Name / Variable | Additional Information |
---|---|
Radio Label#radio_label(field_id, "delimiter") | Use this variable to insert the label of a radio field on your form. For example: #radio_label(123) where '123' is the field ID shown in the layout editor. For more information about this variable, click here. |
Random Numbers
Name / Variable | Additional Information |
---|---|
Random Number#random_number(min, max) | Outputs an integer between the specified minimum and maximum attributes. This function does not generate cryptographically secure values, and should not be used for cryptographic purposes. For more information about this variable, click here. |
Random Strings
Name / Variable | Additional Information |
---|---|
Random String#random_string(length, "characters") | Outputs a string of random characters. Use the length attribute to control how long the string is and use the characters attribute to control which characters are randomly selected. This function does not generate cryptographically secure values, and should not be used for cryptographic purposes. For more information about this variable, click here. |
Search
Name / Variable | Additional Information |
---|---|
Query#search_query | Returns the search query. |
Seconds
Name / Variable | Additional Information |
---|---|
Seconds in a day#seconds_day | Returns the number of seconds in a day. For more information about this variable, click here. |
Seconds since Epoch#seconds_epoch | Returns the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT). For more information about this variable, click here. |
Seconds since Epoch at midnight#seconds_epoch_midnight | Returns the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT) to the closest previous midnight. For more information about this variable, click here. |
Seconds in an hour#seconds_hour | Returns the number of seconds in an hour. For more information about this variable, click here. |
Seconds in a minute#seconds_minute | Returns the number of seconds in a minute. For more information about this variable, click here. |
Seconds in a week#seconds_week | Returns the number of seconds in a week. For more information about this variable, click here. |
Seconds in a year#seconds_year | Returns the number of seconds in a common year. For more information about this variable, click here. |
Section
Name / Variable | Additional Information |
---|---|
Section Label#section_label("section_id") | Returns the section label. For more information about this variable, click here. |
Section Row Count#section_row_count("section_id") | Returns the total number of rows in a repeatable section. For more information about this variable, click here. |
Section Row Index#section_row_index | Returns the row index in a repeatable section. For more information about this variable, click here. |
Section Row Number#section_row_number | Returns the row number in a repeatable section. For more information about this variable, click here. |
Section Rows
Name / Variable | Additional Information |
---|---|
Section Rows End#section_rows_end | Defines the end point for looping through repeatable section rows. For more information about this variable, click here. |
Start Rows Start#section_rows_start("section_id") | Defines the start point for looping through repeatable section rows. For more information about this variable, click here. |
Select
Name / Variable | Additional Information |
---|---|
Select Count#select_count(field_id) | Use this variable to return the number of options that have been selected for a field. For example: #select_count(123) where '123' is the field ID shown in the layout editor. For more information about this variable, click here. |
Select Option Text#select_option_text(field_id, "delimiter") | Use this variable to insert the selected option text of a select field on your form. For example: #select_option_text(123) where '123' is the field ID shown in the layout editor. For more information about this variable, click here. |
Server
Name / Variable | Additional Information |
---|---|
Current Date#server_date | Returns the server date according to the Date Format setting found in WordPress Settings > General. For more information about this variable, click here. |
Custom Date#server_date_custom("format", seconds_offset) | Returns the server date and time in the specified format (PHP date format). For more information about this variable, click here. |
Current Time#server_time | Returns the server time according to the Date Format setting found in WordPress Settings > General. For more information about this variable, click here. |
Session Storage
Name / Variable | Additional Information |
---|---|
Get session storage key value#session_storage_get("key") | Returns the value of a session storage key. For more information about this variable, click here. |
Skin
Name / Variable | Additional Information |
---|---|
Border - Radius#skin_border_radius | For more information about this variable, click here. |
Border - Style#skin_border_style | For more information about this variable, click here. |
Border - Width#skin_border_width | For more information about this variable, click here. |
Box Shadow - Width#skin_box_shadow_width | For more information about this variable, click here. |
Color - Danger#skin_color_danger | For more information about this variable, click here. |
Color - Default#skin_color_default | For more information about this variable, click here. |
Color - Default (Inverted)#skin_color_default_inverted | For more information about this variable, click here. |
Color - Default (Light)#skin_color_default_light | For more information about this variable, click here. |
Color - Default (Lighter)#skin_color_default_lighter | For more information about this variable, click here. |
Color - Default (Lightest)#skin_color_default_lightest | For more information about this variable, click here. |
Color - Information#skin_color_information | For more information about this variable, click here. |
Color - Primary#skin_color_primary | For more information about this variable, click here. |
Color - Secondary#skin_color_secondary | For more information about this variable, click here. |
Color - Success#skin_color_success | For more information about this variable, click here. |
Color - Warning#skin_color_warning | For more information about this variable, click here. |
Font - Family#skin_font_family | For more information about this variable, click here. |
Font - Size#skin_font_size | For more information about this variable, click here. |
Font - Size (Large)#skin_font_size_large | For more information about this variable, click here. |
Font - Size (Small)#skin_font_size_small | For more information about this variable, click here. |
Font - Weight#skin_font_weight | For more information about this variable, click here. |
Line Height#skin_line_height | For more information about this variable, click here. |
String
Name / Variable | Additional Information |
---|---|
Capitalize a string#capitalize("string") | Returns the capitalized version of an input string. For more information about this variable, click here. |
Lowercase#lower("string") | Returns the lowercase version of the input string. For more information about this variable, click here. |
Sentence case a string#sentence("string") | Returns the sentence cased version of an input string. For more information about this variable, click here. |
Convert a string to a slug#slug("string") | Returns the string as a slug suitable for URLs. For more information about this variable, click here. |
Trim a string#trim("string") | Returns the trimmed string. For more information about this variable, click here. |
Uppercase first letter#ucfirst("string") | Returns the uppercase first letter version of the input string. For more information about this variable, click here. |
Uppercase words#ucwords("string") | Returns the uppercase words version of the input string. For more information about this variable, click here. |
Uppercase#upper("string") | Returns the uppercase version of the input string. For more information about this variable, click here. |
Apply wpautop to a string#wpautop("string") | Returns the string with wpautop applied to it. For more information about this variable, click here. |
Stripe Elements
Name / Variable | Additional Information |
---|---|
Customer ID#stripe_customer_id | Returns the customer ID used or created during the transaction. |
Subscription ID#stripe_subscription_id | Returns the subscription ID for subscription transactions. |
Transaction ID#stripe_transaction_id | Returns the transaction ID for one-time transactions. |
Submission
Name / Variable | Additional Information |
---|---|
Admin Link#submit_admin_link | Link to submission in WordPress admin. For more information about this variable, click here. |
Admin URL#submit_admin_url | URL to submission in WordPress admin. For more information about this variable, click here. |
Date Added#submit_date_added | Returns the date and time of the submission according to the Date Format setting found in WordPress Settings > General. For more information about this variable, click here. |
Date Added Custom#submit_date_added_custom("format") | Returns the submit date and time in the specified format (PHP date format). For more information about this variable, click here. |
Hash#submit_hash | Returns the anonymized hash ID of the submission. For more information about this variable, click here. |
ID#submit_id | Returns the ID of the submission. For more information about this variable, click here. |
Link#submit_link | Link to recall form with submission loaded. Used in conjunction with the 'Save' button. For more information about this variable, click here. |
Status#submit_status | draft = In Progress, publish = Submitted, error = Error, spam = Spam, trash = Trash. For more information about this variable, click here. |
Status Label#submit_status_label | Returns a nice version of the submission status. For more information about this variable, click here. |
URL#submit_url | URL to recall form with submission loaded. Used in conjunction with the 'Save' button. For more information about this variable, click here. |
User ID#submit_user_id | Returns the ID of the user who completed the form. For more information about this variable, click here. |
Tab
Name / Variable | Additional Information |
---|---|
Tab Label#tab_label(tab_id) | Returns the tab label by ID. For more information about this variable, click here. |
Text
Name / Variable | Additional Information |
---|---|
Text#text(content) | Keep the content dynamically update. For more information about this variable, click here. |
Tracking
Name / Variable | Additional Information |
---|---|
Agent#tracking_agent | Stores the website visitors agent (browser type). For more information about this variable, click here. |
Duration#tracking_duration | Stores the duration it took to complete the form in seconds. For more information about this variable, click here. |
Location (By browser)#tracking_geo_location | If a website visitors device supports geo location (GPS) this option will prompt and request permission for that data and store the latitude and longitude to a submission. For more information about this variable, click here. |
URL Hash#tracking_hash | Hash of the URL. For more information about this variable, click here. |
Hostname#tracking_host | Stores the server hostname. For more information about this variable, click here. |
City (By IP)#tracking_ip_lookup_city | If checked, WS Form will perform an IP lookup and obtain the city located closest to their approximate location. For more information about this variable, click here. |
Country (By IP)#tracking_ip_lookup_country | If checked, WS Form will perform an IP lookup and obtain the country located closest to their approximate location. For more information about this variable, click here. |
Location (By IP)#tracking_ip_lookup_latlon | This will obtain an approximate latitude and longitude of a website visitor by their IP address. For more information about this variable, click here. |
Region (By IP)#tracking_ip_lookup_region | If checked, WS Form will perform an IP lookup and obtain the region located closest to their approximate location. For more information about this variable, click here. |
Time Zone (By IP)#tracking_ip_lookup_time_zone | If checked, WS Form will perform an IP lookup and obtain the time zone closest to their approximate location. For more information about this variable, click here. |
Operating System#tracking_os | Stores the website visitors operating system. For more information about this variable, click here. |
URL Pathname#tracking_pathname | Pathname of the URL. For more information about this variable, click here. |
URL Query String#tracking_query_string | Query string of the URL. For more information about this variable, click here. |
Referrer#tracking_referrer | Stores the web page address a website visitor was on prior to completing the submitted form. For more information about this variable, click here. |
Remote IP Address#tracking_remote_ip | Stores the website visitors remote IP address, e.g. 123.45.67.89 For more information about this variable, click here. |
URL Full#tracking_url | Full URL. For more information about this variable, click here. |
UTM Campaign#tracking_utm_campaign | This can be used to store the UTM (Urchin Tracking Module) campaign parameter. For more information about this variable, click here. |
UTM Content#tracking_utm_content | This can be used to store the UTM (Urchin Tracking Module) content parameter. For more information about this variable, click here. |
UTM Medium#tracking_utm_medium | This can be used to store the UTM (Urchin Tracking Module) medium parameter. For more information about this variable, click here. |
UTM Source#tracking_utm_source | This can be used to store the UTM (Urchin Tracking Module) source parameter. For more information about this variable, click here. |
UTM Term#tracking_utm_term | This can be used to store the UTM (Urchin Tracking Module) term parameter. For more information about this variable, click here. |
URL
Name / Variable | Additional Information |
---|---|
Login#url_login | Returns the login URL. |
Logout#url_logout | Returns the logout URL. |
Lost Password#url_lost_password | Returns the lost password URL. |
Register#url_register | Returns the register URL. |
User
Name / Variable | Additional Information |
---|---|
Admin Color#user_admin_color | Returns the user admin color if logged in. |
Bio#user_bio | Returns the user biography if logged in. |
Display Name#user_display_name | Returns the user display name if logged in. |
Email#user_email | Returns the user email address if logged in. |
First Name#user_first_name | Returns the user first name if logged in. |
ID#user_id | Returns the user ID if logged in. |
Last Name#user_last_name | Returns the user last name if logged in. |
Login#user_login | Returns the user ID if logged in. |
Lost Password Key#user_lost_password_key | Returns the user lost password key if logged in. |
Lost Password URL#user_lost_password_url("path") | Returns the user lost password URL if logged in. |
Meta Value#user_meta("meta_key") | Returns the user meta value for the key specified. |
Nice Name#user_nicename | Returns the user nicename if logged in. |
Nickname#user_nickname | Returns the user nickname if logged in. |
Registration Date#user_registered | Returns the user registration date if logged in. |
URL#user_url | Returns the user URL if logged in. |
Word
Name / Variable | Additional Information |
---|---|
Count#word_count | Returns the total word count. For more information about this variable, click here. |
Count Label#word_count_label | Returns 'word' or 'words' depending on the word count. For more information about this variable, click here. |
Maximum#word_max | Returns the maximum word length that you set for a field. For more information about this variable, click here. |
Maximum Label#word_max_label | Returns 'word' or 'words' depending on the maximum word length. For more information about this variable, click here. |
Minimum#word_min | Returns the minimum word length that you set for a field. For more information about this variable, click here. |
Minimum Label#word_min_label | Returns 'word' or 'words' depending on the minimum word length. For more information about this variable, click here. |
Count Remaining#word_remaining | If you set a maximum word length for a field, this will show the total remaining word count. For more information about this variable, click here. |
Count Remaining Label#word_remaining_label | If you set a maximum word length for a field, this will show the total remaining word count. For more information about this variable, click here. |
Zendesk
Name / Variable | Additional Information |
---|---|
Ticket ID#zendesk_ticket_id | Returns the ID of the created ticket. |
Ticket URL#zendesk_ticket_url | Returns the URL of the created ticket in your Zendesk account. Do not use this URL in any communications to the person submitting the ticket. |