Gravity Forms Post Listing Field

Gravity Forms Post Listing Field - CodeCanyon Item for Sale

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 me@nathanfranklin.com.au if you require support or have any questions/comments.

Please check my website out http://www.nathanfranklin.com.au/ .

Now with Multi Select support!

Possible Uses

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!

Changelog

Version 2.0

  • 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.

Version 1.55

  • UPDATED: Removed the public filter when listing available post types.
  • FIXED: Bug when no conditional logic is included in form but conditional script still tried to run. This causes a javascript error.

Version 1.51

  • FIXED: Bug when form is submitted with validation errors.

Version 1.50

  • ADDED: Multiselect support.
  • ADDED: Field height for multiselect.
  • ADDED: Additional conditionals: contains, does not contain for field.
  • ADDED: Script comments.
  • UPDATED: Language translations.
  • FIXED: Potential problems with javascript code in admin.
  • FIXED: Small code tidyups

Version 1.11

  • UPDATED: Adding additional localisation calls.

Version 1.0

  • Initial Release.
by
by
by
by
by
by