Knowledge Base
Find answers, learn new features, and explore developer resources.
Variables
- Calculate Character and Word Counts for a Form FieldPRO
You can use WS Form PRO to calculate the number of characters or words in a form field.
- Calculating Minimum and Maximum Field Attributes
WS Form can calculate minimum and maximum field attributes of a series of fields.
- Combine First and Last Name Fields into a Full Name FieldPRO
Using WS Form PRO variables or conditional logic you can easily create a full name field that is automatically updated when a user enters their first or last name.
- Create a Form SummaryPRO
On a long form you may wish to add a summary of the fields the user has completed.
- Create Random Values
WS Form has two functions that can be used to create random numbers and string.
- Duplicate / Copy Field Values With #textPRO
The #text(…) variable is used to duplicate the value of field(s) in real-time.
- Dynamic Label, Placeholder and Help Text With #textPRO
The #text variable can be used in the 'Label' and 'Help Text' settings of fields to create dynamic labels and help text.
- Formatting Numbers Using #number_formatPRO
Numbers can be formatted in WS Form using the #number_format variable.
- How to Enable File Previews in Emails and PDF TemplatesPRO
Learn to enable and disable file previews and information.
- How to Extract First and Last Names from a Full Name
Extract first, middle, last name, prefix, and suffix from a full name field using WS Form variables.
- Insert Local Storage Values into Fields
You can insert the value of a local storage value into a field using the #local_storage_get variable.
- Insert Session Storage Values into Fields
You can insert the value of a session storage value into a field using the #session_storage_get variable.
- Populate a Field With Query String Data
It is possible to populate a field with the value of a query string parameter using the WS Form variable.
- Retrieving ACF Option Values Using #option_get
Use the WS Form #option_get variable to retrieve ACF Options Page values from the WordPress wp_options table.
- Transforming Strings
WS Form can transform the text entered into fields as well as transforming strings using WS Form variables.
- Use Repeatable Section Count in CalculationsPRO
How to use the #section_row_count variable with repeatable sections to calculate other fields.
- Using #field With Delimiter and Column ParametersPRO
The #field variable 'delimiter' and 'column' parameters allow you to extract data from any column in a data grid as well as separate multiple choices by any character or string you wish.
- Using Variables in Conditional Logic IF StatementsPRO
Learn how to use WS Form variables directly in IF statements to create dynamic conditional logic using query variables, tracking variables, calculated values, and more.
- Word and Character Counts in Help Text
WS Form can add word or character counters to all types of text fields and in any format you wish.