[SOLVED]adding multiple input boxes to formbuilder?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
blackhawk
Power Poster
Power Poster
Posts: 280
Joined: Mon Oct 20, 2008 6:07 pm

[SOLVED]adding multiple input boxes to formbuilder?

Post by blackhawk »

Is it possible to add multiple rows of fields by a click of a button in formbuilder?

For example if I initially had 2 input text fields side by side, one for "name" and one for "quantity", but then the user wanted to add another "name" and another "quanity" value, on the next line, which would be shown by a click of a some button, is that possible?

I would like the user to click to add as many rows as they want.

I just need a little directional guide on how I can get this functionality built in formbuilder. I don't mind building the code myself if I have too. I'm just seeing if its possible and already built-in perhaps?

Thanks
Last edited by blackhawk on Wed Apr 24, 2013 1:59 pm, edited 1 time in total.
blackhawk
Power Poster
Power Poster
Posts: 280
Joined: Mon Oct 20, 2008 6:07 pm

[SOLVED]Re: adding multiple input boxes to formbuilder?

Post by blackhawk »

I come to realize that this could be easily achieved by using jQuery and the trigger() method on a checkbox, which would reveal more input fields. I would simply have to have all my non-required fields already created in formbuilder (like 20 of them for example), initially hide them with jQuery, then use trigger() to display them out.

thanks
Post Reply

Return to “Modules/Add-Ons”