Conditional Logic
-
Conditional Logic
Conditional Logic provides a way for you to create dynamic forms that change according to the way a user interacts with your form.
-
if … endif Variables
The #if and #endif variables are used to conditionally include content.
-
Using Variables in Conditional Logic IF Statements
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.
Tutorials
-
Conditional Logic Based on Day of the Week
This tutorial shows how to create conditional logic that checks the day of a week from a date field.
-
Control Actions With Conditional Logic
It is possible to control when WS Form PRO actions run by using conditional logic.
-
Create a Customizable T-Shirt Product
This tutorial explains how we created the customizable t-shirt product demo.
-
Create a Form Recipient Selector Using Conditional Logic
In this tutorial we'll show you how to allow a user to select a recipient by enabling and disabling 'Send Email' actions using conditional logic.
-
Create a Redirect Selector Using Conditional Logic
In this tutorial we'll show you how to set up form redirects using conditional logic.
-
Create an ‘Other’ Option Using Conditional Logic
A common scenario on a form is the case of an 'Other' option as part of a list of options in a select, checkbox or radio field.
-
Form Abandonment – Saving Partial Form Submissions
Learn how to automatically save partially completed forms in case a visitor abandons a form.
-
How Hidden Fields Work
There are several ways of hiding form field values in WS Form. Learn how to hide form field values and how hidden field behave.
-
How To Run Condition Logic on Form Render
To run any conditional actions when a form is rendered, you can use the Form > Rendered combination.
-
How To Swap Two Form Input Values
In this tutorial, we will create a button in WS Form that swaps the values between two number fields using a hidden field and conditional logic.
-
How to Use Query Strings with Conditional Logic
Learn how to capture query string parameters in a hidden field and use them to drive conditional logic in your form.
-
How to Use WooCommerce Variation Variables
Learn how to use WooCommerce Variation Variables in WS Form to dynamically react to selected product variations, attributes, pricing, and stock status.
-
Set Repeatable Section Row Count Using a Field
Learn how to set the number of rows in a repeatable section by using the value from another field.