Problem This questions was asked in the Formidable Community Forum: Short Answer Formidable Forms doesn’t ship a built-in “email OTP before submit” feature, and none of the official add-ons (including User Registration) provide a pre-submit one-time code flow. The good news is you can implement it cleanly with a small helper and two Formidable hooks. [Read More…]
Easily Create PHP Variables for Every Form Field
Summary Have you ever wished it were easier to create Software Portability variables based on a form’s field keys? Here’s a function that will help you do this with 2-lines of code: View the code on Gist. To create the variables, pass the form’s key to the function: /* get all pertinent form and field [Read More…]
Calculate Renewal Date with addmonths()
jQuery/JavaScript Date Math Demo
Kint Debug Video Follow-up When I recorded the Kint debugger video the other night, I mentioned that I was calculating subscription transaction renewal dates with jQuery. This is for the Sole Proprietor Expense Tracking application I’m building. I’ve written this application for myself primarily because I don’t need a full blown accounting system, especially after [Read More…]
Remove “Delete All Entries” Button
Add this snippet to your functions.php or code snippets plugin and the “Delete All Entries” button will be removed from the Formidable form’s entries list page.
Display Day Name On Date Field Change
Angelo Galiazzi asked a question in the Formidable Community and in the Formidable Masterminds Facebook group about how to display a day name in a text field when a date is selected in a date field on a Formidable form. This jQuery snippet will do exactly that… View the code on Gist. To use, copy [Read More…]
Firefox Default Value Bug? The Work Around
Summary We recently encountered a strange bug while working with Firefox in our MacOS development environment. This environment runs Apache 2.4.54, PHP 8.1.8, and MariaDB 10.8.3. The tested browsers are: Firefox 102.0.1 Safari 15.6 Chrome 103.0.5060.134 Firefox Developer Edition 103.0b9 Here’s the issue: While working on a new product release, we modified a form that [Read More…]
Columnize Dynamic Radio Button Fields
Summary This jQuery code snippet was written as an answer to a question in the Formidable Community Forum. I’d like to set up a dynamic field that is set as a radio field into columns. Basically each column would be one class with the workshops for that class underneath. brian penner View the code on [Read More…]
Display Range Slider as Currency
Summary This snippet is an updated version of the example found on the Formidable Knowledge Base JavaScript examples page: https://formidableforms.com/knowledgebase/javascript-examples/#kb-format-a-slider-field-value-as-a-currency. The KB example works for one slider at a time. This version works for multiple sliders on a single page. It also uses the JavaScript standard built-in Intl.NumberFormat object. This object enables language-sensitive number formatting. [Read More…]
