Snippet

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…]

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.