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…]
jQuery
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…]
Create Interactive Graphs with Chart.js and Formidable
Requirement A client submitted a Project Application that requested: the creation of an interactive bar chart to calculate and display future values in real time when a “Risk” dropdown is changed on a form the Risk dropdown’s selected option changes color and the interactive chart uses the same color as the Risk option interactive colors [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…]
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).
Hide Previously Selected Dynamic Checkboxes in Repeaters
Problem I have two forms that have a repeater with a dynamic field (checkbox) inside it. When a checkbox is checked, I want them to be hidden in the future dynamic fields. Basically, I need every checkbox to only be checked once. If it gets unchecked, I want it to reappear. Once all checkboxes are [Read More…]
Building a Workflow Engine
Overview One of the most frequently asked questions when it comes to building a Formidable Forms business process is “How do I build a workflow to assign tasks, track sequence completions, and move to next steps?” Workflows can be complicated. Oftentimes, there are security considerations such as “How can I allow the project manager to [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…]