Tips & Tricks

Form Transients

This Mastermind tip is contributed by Rob Levine (@RobL) from the Formidable Slack Community. Thank you Rob! Rob was experiencing a caching issue when programmatically adding an option to a checkbox. In the Slack community’s General channel, he posted:  …I’m using a filter to update the Formidable fields table (frm_fields).  I’m manually adding an option [Read More…]

Disable Formidable’s Inbox

To disable the display of inbox messages, use this code snippet to keep the inbox empty: View the code on Gist. To completely remove the inbox from the Formidable menu, use this snippet: View the code on Gist.

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 [Read More…]

Writing Transportable Code: Keys vs. IDs

When you drag and drop a field onto a form, two pieces of data to identify the field in code are created. The first, the field’s ID is created by MySQL using an auto increment field. This is a standard methodology used throughout WordPress. WordPress creates an ID for every single data element added to [Read More…]