Adding fields dynamically

Hello…

I’m really hoping for some guidance here. I have a form where customers need to select a year and then one to three forms they need copies of.

There is a dropdown for the year and three checkboxes for the form names. If the year is before 2015, then each form will cost $10.

I have this working, but will need to provide a way for users to add all of these fields for another year. So, in the past I’ve added a button that, when clicked, will add a new row with all these fields.

Is there a way to do this with Gravity Forms? Can we add rows of fields like this dynamically?

Thank you!

/kevin

Hey Kevin,

There are a number of ways to accomplish this with Gravity Forms. Rumor has it, it’s going to get even easier in GF 3.0. :wink:

For now, here’s an article that summarize three ways to do this currently:

  1. List field
  2. Repeater API (beta)
  3. GP Nested Forms
1 Like

Hi, David!

Thank you very much for the reply. I recall looking at list fields earlier and thought there was an issue with it, but don’t recall exactly what so I’ll have a second look.

The API looks promising, but for now doesn’t support calculations.

Is Nested Forms a plugin? I’m not sure they will be able to purchase this for me.

Thank you again! I do appreciate your help!

/kevin

Yeah, if you’re doing calculations you’d probably be better off with Nested Forms. Full disclosure, that’s one of our plugins (Gravity Wiz). The downside of Nested Forms for your use-case is that it loads the form in a modal which feels like it might be overkill for a simple repeater but… it is very robust. :grinning_face_with_smiling_eyes:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.