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…]
Snippet
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).
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…]
Taming E2PDF Saves
This Mastermind tip is contributed by Rob Levine (@RobL) from the Formidable Slack Community. Thank you Rob! Problem I am using e2PDF to create a PDF of a submitted Formidable Form. The difference for me is that I both want to save it to the server and do it without the user knowing (or caring) [Read More…]
Count Entries Shortcode
Introduction When we built this site, we envisioned the code snippet area to be a reference resource for experienced Formidable developers. However, as this site grows, we are making adjustments for a broader audience. Keep asking your questions. We appreciate it! If you need help with a code snippet that you found on this site, [Read More…]
Populate Dropdown from SQL Query
Simple code snippet to populate a Formidable form dropdown with filtered entries from SQL query. Uses complex LEFT JOINs. View the code on Gist.