JQuery/JS form - add more form fields on click

  • Posted:
  • Proposals: 0
  • Remote
  • #694045
  • Awarded
  • 0

Description

Experience Level: Intermediate
Estimated Job duration: 1 day or less
General information for the website: Adding form fields
Description of requirements/features: Hi,

I have 5 form fields which represent a child of a parent (real life term not computer term ( eg. child's name, child's gender, child's date of birth).

Once the user has filled out those fields, they have the option to 'Add another child' which will duplicate those 5 fields in order for the parent to add their second child... and so on for any amount of children.

So, when you click 'Add another child', 5 duplicated form fields will appear below the previously filled 5 form fields.

However, the form field id and name would have to be unique to each set of 5 fields. Eg. id="childname1", id="childname2" etc
Extra notes: My form fields look like this:



DD


Option one
Option two






MM


Option one
Option two






YY


Option one
Option two



New Proposal

Create an account now and send a proposal now to get this job.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.