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…]
Programming
Integrate QR Code With Formidable
Requirement A long-term client asked us to integrate QR Codes with Formidable Forms. This particular client runs an agency out of Denver, Colorado. Her client is a grocer. This grocer uses Formidable Forms to sign up ambassadors (affiliates) and partners. When an ambassador entry is submitted, the user is sent an email that includes this [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…]
How to Provide Instant Feedback on Forms
Quiz Building Anyone? Are you using Formidable to build quizzes? Many people are and Formidable allows you to build really nice quizzes right out of the box. But, what if you have special requirements like this poster in Formidable’s Slack Community. The Requirements Have a ‘check answer’ button after each multiple choice question. If all [Read More…]
Passing an Option in Query String and Setting Select Value
Overview Formidable provides a built-in method for setting a default value on fields by passing a query string parameter. To do this, simply pass the name of the parameter and its value in the query string, like this: /page-name/?color=blue If you want to capture the value of “blue” as the default value in a field, [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…]
Add New Create Post Action Taxonomy
The Question Is there a way to create a new taxonomy for a custom post type from the value of a text field when using Pro’s Create Post form action? Formidable Slack Community Member The Answer Yes! In fact, Formidable has a knowledge base example on how to Create a new WordPress Category. The example [Read More…]
Conditionally Require Fields by User Role
The Challenge Is it possible to make fields required for specific user roles using the frm_validate_field_entry hook? Formidable Slack Community Snippet Yes, it’s possible by using the WordPress wp_get_current_user() function. Here’s the snippet that shows how. View the code on Gist.