Question: How do I change the background of a field based on another field’s value? Example, if Num field = 1 then change the other field’s background to red? Michael Thomas, Formidable slack community member Answer: This is best handled by jQuery so you can see the result in real time. Essentially what you need [Read More…]
This Mastermind tip is contributed by Rob Levine (@RobL) from the Formidable Slack Community. Thank you Rob! Rob was experiencing a caching issue when programmatically adding an option to a checkbox. In the Slack community’s General channel, he posted: …I’m using a filter to update the Formidable fields table (frm_fields). I’m manually adding an option [Read More…]
Problem One request we receive frequently is: How can I include a link on a page to return to the previous page? Solution If you view any of the codex detail pages, at the top of the page, you’ll see one of the following links: Return to Actions List or: Return to Previous Page or: [Read More…]
To disable the display of inbox messages, use this code snippet to keep the inbox empty: View the code on Gist. To completely remove the inbox from the Formidable menu, use this snippet: View the code on Gist.
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…]
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.
Simple code snippet to populate a Formidable form dropdown with filtered entries from SQL query. Uses complex LEFT JOINs. View the code on Gist.
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…]