Tips & Tricks

Disable Form Submit Button

There are many reasons why you may want to disable a form’s submit button to prevent entries from being sent from the browser. For example, perhaps you’ve created a simple calculator form or a demo form for a specific Formidable feature as we do throughout this site. The solution we use is to modify the [Read More…]

How to Change the Datefield’s Calendar Start Day

Question This question comes from a poster in the Formidable Slack Community: How can I change the inline datepicker field to start on Saturday by default? Solution You cannot change the datepicker to start on a different day of the week by default through the Formidable build screen. However, Formidable uses the ubiquitous jQuery UI [Read More…]

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…]