Add optgroup support in Gravity Form The optgroup tag is used to group related options in a select element (drop-down list). If you have a long list of options, groups of related … [+]
Validate at least one field to be filled in Gravity Form How can I make one of two fields required (ie you have to indicate either the telephone or the email address)? Assuming your form ID is 5 and the 2 … [+]
Restricting Days in Gravity Forms Datepicker How can I restrict dates in date picker, to force a choice between 3 and 30 days? Assuming your form ID is 1 and your date field ID is 4, add an … [+]
How to allow editors to read and export Gravity Forms messages How can I allow editors to read entries on gravity forms? Add this code to your functions file: <?php /* Allow reading & export entries in … [+]
Display titles of your Gravity Forms How can I display title of all active Gravity Forms? Add this code to your page: <?php // display Gravity Forms titles $forms = … [+]
Count the number of entries in a Gravity Form How can I sum all entries from a specific field as a counter? To display number of entries submitted, insert this code on your page: <?php // … [+]
Get current language in a GravityForms field I have a multilingual WPML site. How can I add a field in my form to get the current language? 1. Add this code to your functions.php file <?php … [+]