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.

(Optional) multiple inputs

  1. hi guys,

    just purchased the basic version of gf — congratulations it's a really nice product. unfortunately, it doesn't provide some functionality, i definitely need:

    a user should be able to enter arbitrary numbers of collections of (e.g.) dropdowns. e.g., when they want to tell their education, there is a block consisting of:

    - year start
    - year end
    - school
    - finished [checkbox]

    and if there is another school/university they visited, the should be able to <add> another of these blocks (i.e., duplicate the sub-form).

    can someone suggest me how to implement that within gf? if it is not possible right out of the box, which code-files should i have a look on to implement such a behaviour?

    many thanks and have a good day,
    georg

    Posted 13 years ago on Friday May 27, 2011 | Permalink
  2. Allowing the user to duplicate form fields by clicking "Add" is not currently a feature. The only way to accomplish this is for ALL the fields to already exist on the form and then use conditional logic to show/hide additional fields.

    Adding this functionality is not going to be as simple as modifying a couple files to implement the behavior. We know from looking into adding this feature ourselves, which we do plan on doing, that it is going to be a very complex addition and not something that is going to be a quick change.

    We have plans for a List Field that will let you do what you describe above which lets you create a field consisting of multiple columns and then the user can add additional items like you described. This feature is planed for the 1.5.3 feature release.

    Posted 13 years ago on Friday May 27, 2011 | Permalink
  3. Hi Carl,

    I started to implement it that way, but for big numbers of entries, this is not a good solution. As you told, adding the functionality on my own would be huge. As you confirm that, I'll skip that ;)

    I need this functionality pretty soon – within the next 10 days. As a developer, I know, this is a bad question — but when do you plan to release 1.5.3? Or would it be possible to get alpha/beta code on that?

    Many thanks for info and have a nice weekend,
    Georg

    Posted 13 years ago on Friday May 27, 2011 | Permalink
  4. 1.5.3 will not be released until the end of June at the earliest, most likely July. There is no beta code to test as of right now. We are wrapping up 1.5.2.3 which is getting ready to be released and then will be working on 1.5.3.

    Posted 13 years ago on Friday May 27, 2011 | Permalink
  5. On this topic, is there any upcoming ability to duplicate an entire existing form?

    Formidable does that nicely, but doesn't come close to what yours does for ecommerce.

    You could definitely edge them out if you come up with this. Our forms are big.

    Posted 13 years ago on Tuesday June 28, 2011 | Permalink
  6. @cyentist Gravity Forms already allows you to duplicate a form. When you go to the Edit Forms screen that lists all your forms you can hover over a form and select Duplicate to duplicate it and create a copy.

    Posted 13 years ago on Tuesday June 28, 2011 | Permalink

This topic has been resolved and has been closed to new replies.