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…]
Disable Copying Email Address into Email Confirmation Field
Use this code snippet to disable copy and paste between Formidable Forms’ email and email confirmation fields. [Read More…]
Strip Non-numeric Characters from Phone Number with jQuery
When displaying a view, do you need to display phone numbers as links? If so, this code snippet that we use with the Developers Directory, strips all non numeric characters from a phone number. View the code on Gist. To use this snippet, replace the jQuery selector(s) with your field id(s).
Use Toggle to Copy Fields in Form Sections
This is the code used to implement a toggle as a trigger to copy fields between form sections in the Formidable Masterminds Developers Directory. Toggle fields are single option checkbox fields in disguise. View the code on Gist.
Strip Non-numeric Characters from Phone Numbers
Whenever you capture a phone number on a form, wouldn’t be nice to also capture a version of the number that can be used in a tel: link on a view? Here’s a jQuery snippet that will do just that and store the value stripped of non-numeric characters in a hidden field with the exception [Read More…]