Hello, all.
I know the basics of appending a form element to a form using jQuery; but if I have MANY form elements that I want to incrementally create based upon the value of a select, is it possible to create one object that contains all the divs and form elements, and just use that as part of a loop to create multiple sets of form elements?
For example, say I have a form that is to be used for getting a quote on shipping. It has one static section for sender information (name, address, city, state, zip), one static section for destination (same fields), but will allow the sender to ship anywhere from one to 30 packages, dynamically set by user choice of a select, and that each package requires information (description, type, dimensions, weight, hazardous Y/N, stock number, comments), can I create one object that has all these fields and their containing divs and iterate that to create a set of fields for each package?
V/r,