Jump to content

How to generate multiple fields in a form


Scorptique

Recommended Posts

Hello all!

 

I want to make a form with a set of text fields and an "add another set" button whereby when I click it, another set of the same fields is generated below it. And the user can continously add sets of fields.

 

I dont know how to do it  ??? I know Javascript supports such feature but does anyone know how to create one using php? Help please.

 

Link to comment
Share on other sites

Thanks for the link Maq. I was wondering, how do to I insert multiple SETS of fields? I want to insert in sets of 3. Because I want to fill in the "First name", "Last name", "Email" for each set.

 

Im super new to javascript. Ive only studied php. I hope you can help me. Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.