How to use the Event Switcher in Chronoforms 8

Understand how to display different content or process different actions based on field data, query parameters or actions returned variables.

The Event Switcher action can help you run different Views/Actions based on the value of a specific variable, you can define different Views/Actions for each expected value

  1. We have a PHP action returning the value "yes", your action may return anything else like a Read Data action returning values from the database.
  2. We use the PHP action value as the Switch Value, we use the shortcode {var:php_action_name} for this, which is {var:php25} according to our setup.
    You could also use a field value like {data:field_name} instead
  3. Our action returns only "yes", but you may define any number of expected values you need.
  4. You can drag the Views or Actions you need in the appropriate Event.

How to use the Event Switcher in Chronoforms 8 image 1

Category: ChronoForms v8

VPS & Email Hosting 20% discount
hostinger