KwesForms V2 is finally here and it's game changing! Try it now.
Home How it Works Components Validation Spam Cloud Emails Data Security Pricing Docs API Docs FAQ Sign In Try It Free

Conditional Logic

Show or hide anything inside your <div class="kwes-form"> based on field values or any other boolean. Write the conditional logic inside a kw-show attribute.

<select name="firstField">
    <option value="Show Field Below">Show Field Below</option>
    <option value="Hide Field Below">Hide Field Below</option>

<div kw-show="fields.firstField == 'Show Field Below'">
    <input type="text" name="secondField">