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.

Generate input fields defined by dropdown

  1. Can this plugin handle the following senario:
    User has to choose from a drop down the amount of clients participating.
    Say they select 3
    The group of inputs requiring name, address and so on is generated 3 times.

    Cheers!

    Posted 14 years ago on Monday August 15, 2011 | Permalink
  2. Somewhat, yes. Assuming you are using a drop down or radio buttons to select from a known quantity of clients. Then you can use conditional logic to show the correct number of name/address blocks. It will be somewhat tedious to set up, as you will need to design the form so that if they select 1, you show 1 name block.

    Then, if they select 2, you show 2 name blocks. All the way up to 9 (or however many clients you allow in your drop down.) So, you will have 1 name block for 1 client, 2 blocks for 2 clients (in the drop down), 3 for 3 selected in the drop down, etc. You will eventually have 1+2+3+4+5+6+7+8+9 name blocks in your form.

    It's not ideal, but it is possible.

    Form fields are not generated on the fly. They're all pre-defined when setting up your form.

    Posted 14 years ago on Tuesday August 16, 2011 | Permalink
  3. Any way I can get a trial or something similar because that's solely what I need it for. I have a drop down from 1 to 9 and have to have those blocks appear or disappear depending on it.

    All I need is a one day trial.

    Cheers!

    Posted 14 years ago on Tuesday August 16, 2011 | Permalink
  4. There are no trials available that I'm aware of. Gravity Forms can show/hide input blocks based on the value of a drop down, from 1 to 9, as you describe.

    Posted 14 years ago on Tuesday August 16, 2011 | Permalink
  5. I took about 30 minutes to put together what you're looking for, I think. I created a drop down with 5 clients, but you can extend this same procedure up to 9 if you want to. It would just take more time. As I said, tedious, but possible.

    http://gravity.chrishajer.com/event-registration/

    Posted 14 years ago on Tuesday August 16, 2011 | Permalink
  6. Well that's perfect! Thanks!

    Posted 14 years ago on Tuesday August 16, 2011 | Permalink

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