CodeCanyon Gravity Forms Post Listing Field 6898310
Plugin \ Forms
Custom \ Select \ Gravity \ Version \ UPDATED \ Plugin \ Listing \ Conditional
Plugin - Gravity Forms Post Listing Field 6898310 by nathanfranklinau @ CodeCanyon
Plugin \ Forms
This plugin will add a new Gravity Forms field to your form designer which gives your customers the ability to select from a list of posts directly from your WordPress posts. The field allows you to select a custom post type to build your list from and also the ability to group your data by a custom taxonomy.
It’s simple. Install the plugin and activate it and then a new field called ‘Post Listing’ will appear in your Gravity Forms form editor under Advanced Fields. After adding this field to your form, you can select a post type which will populate the list with posts of these posts type. You can even group your posts by a custom taxonomy that you select. That’s it! The field will render a drop down on your form that users can use to select any post based on the post type you have selected.
The field type supports all the standard features of Gravity Forms. You can use the enhanced UI using the chosen plugin, setup conditional arguments using this field, set the field size and a range of standard functionality provided by Gravity Forms.
The plugin has been set up for translation and includes English translations (more to come), and contains multiple developer hooks which allow for customisation and extending beyond what the plugin is already capable of.
You must have Gravity Forms 1.7.x or higher installed and activated on your WordPress site.
You are welcome to post comments below or email firstname.lastname@example.org if you require support or have any questions/comments.
Please check my website out http://nathanfranklin.com.au/ .
Now with Multi Select support!
The power of this field is in its ability to build a list of dynamic data from a custom post type in your WordPress site which allows users to then select it from Gravity Forms. There are literally 100’s of possible uses for this field. Remember you are only limited by your imagination!
Here a just a few possible examples.
- Multiple retail store locations as a custom post type – Advanced contact enquiry form (I am enquiring about store ‘x’)
- Job listings as a custom post type – Job application form (I am applying for position ‘x’)
- Donate to cause as a custom post type – Donation form (I want to donate to cause ‘x’)
- Interest groups as a custom post type – Enquiry form (I want to know more about group ‘x’)
- Contests as a custom post type – Voting form (I am voting for submission ‘x’ to win)
- Competitions as a custom post type – Enter form (I am entering competition ‘x’)
- Products as a custom post type (WooCommerce) – Enquiry form (I want to know more about product ‘x’)
Plus many more!
- UPDATED: Refactored code to conform to Sense Framework model.
- UPDATED: Add filters to allow custom arguments to be passed into get_posts
- UPDATED: Refactored get_posts functionality.
- ADDED: Filters to manually override the post display text.
- ADDED: Post ID to post display text (This is not overridable).
- REMOVED: Pointless filters/hooks
- FIXED: When field options were updated in the form editor, conditional logic choices were not updated.
- UPDATED: Removed the public filter when listing available post types.
- FIXED: Bug when form is submitted with validation errors.
- ADDED: Multiselect support.
- ADDED: Field height for multiselect.
- ADDED: Additional conditionals: contains, does not contain for field.
- ADDED: Script comments.
- UPDATED: Language translations.
- FIXED: Small code tidyups
- UPDATED: Adding additional localisation calls.
- Initial Release.
Last Update: 12 March 14; Compatible Browsers: IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome; Compatible With: Gravity Forms 1.7.x; Files Included: PHP; Software Version: WordPress 3.8, WordPress 3.7, WordPress 3.6, WordPress 3.5, WordPress 3.4, WordPress 3.3, WordPress 3.2, WordPress 3.1, WordPress 3.0.
Gravity Forms Geo Conditional Fields; Gravity Forms User Conditional Fields.
Keywords: custom post type listing, form field, gravity forms, gravityforms, post listing, wordpress plugins.