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…]
Tips & Tricks
Add Currency to Formidable’s Global List
Question: I need to use a currency that is not included in the “Formidable -> General Settings -> Currency” settings. Is there a way I can add additional currencies? Albert Opoku—Formidable Slack Community Answer: Formidable Pro provides a frm_currencies filter that allows users to add additional currencies to Formidable’s global currency list. The example in [Read More…]
Update Form Field Values with PHP
Formidable’s knowledge base is a valuable resource with a lot of very good coding examples. One in a while though, you run into a code example that doesn’t quite work as intended. Such is the case with the example for updating a field value with PHP. The problem with the knowledge base code example has [Read More…]
Use Hidden Text Fields for data-
This Mastermind tip comes from Nathanael at Formidable Support. Thank you Nathanael! Problem Maybe we’ve never noticed this before, but it was pointed out in the Formidable Slack community that the source code for hidden fields does not display on the form’s Customize HTML page. In business applications, hidden fields are not only used for [Read More…]
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…]
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…]
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…]
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…]