Retrieve Upload Filename and Path

Question: Does anyone know how to return the filename with path for a File Upload field? Nick Amis, Formidable Slack Community This is a simple question, but the answer is somewhat elusive. File Upload Field First, let’s gain an understanding of Formidable’s file upload field. For one reason or another, the file upload field has [Read More…]

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

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

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