A simple shortcode to count entries for a specific field. Usage 1: [count_entries field_id=’153′ field_value=’Class’] Usage 2: [count_entries field_key=’sdlsK’ field_value=’Class’] View the code on Gist.
Snippet
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.
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.
Move Submit Button to Top of Form
Learn how to move a Formidable Forms submit button to the top of the form. [Read More…]
Capitalize First Letter of Form Field
Here’s a handy little snippet to help you capitalize the first letter of a form’s text field. [Read More…]