PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Add/Duplicate custom fields in front end

  1. charlie77
    Member

    Hi,

    I recently purchased and installed Gravity Forms and find it fantastic, but I'm trying to do something which I'm not sure if it's possible to do with it.

    I'm building a form which will allow users to submit a post. It uses several custom fields, but would like to allow users to add / duplicate fields if they need it.

    I've used a couple of jQuery plugins that allow to duplicate form fields (http://vipullimbachiya.com/?p=209 and http://www.trovster.com/lab/plugins/duplicate-remove/) and they work fine, I'm able to duplicate them, but when I submit the form it only sends the last field value.

    Is there any way to do this? I know custom fields only allow a key/value pair, but in WP backend it is possible to create various custom fields with the same key and assign them different values, so maybe there's a way around it.

    Any help on this would be really appreciated, thanks for this fantastic plugin.

    Posted 10 years ago on Friday March 12, 2010 | Permalink
  2. Gravity Forms doesn't currently support dynamic field duplication on the front end.

    This is a feature we would like to implement in the future, but it isn't a hot item like multi-page forms, field calculations and PayPal integration which will come before we have an opportunity to implement this one.

    So right now it isn't possible but it is certainly going to eventually get implemented.

    Posted 10 years ago on Friday March 12, 2010 | Permalink
  3. charlie77
    Member

    Thanks Carl,

    I already thought so, but was hoping maybe it was possible with some kind of hook and the help of a jquery plugin.

    Anyway, good to know that it's eventually going to be implemented, would be a great addition.

    Posted 10 years ago on Friday March 12, 2010 | Permalink