Default a Toggle Field to Active

If you examine the generated HTML for a Formidable toggle field, you'd see that a toggle field is simply a single value checkbox in disguise.

Normally, the toggle field defaults to its inactive state. To default a toggle field to its active state, simply set the fields default value to the same value as the active state label as in this example:

Here are the results:

Toggle Form Demo

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *