Title: Plugin Dev: How do I code a dynamic form?
Last modified: August 19, 2016

---

# Plugin Dev: How do I code a dynamic form?

 *  [chuck252](https://wordpress.org/support/users/chuck252/)
 * (@chuck252)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-dev-how-do-i-code-a-dynamic-form/)
 * I’m looking to add what I think would be a simple form to my plugin.
 * I would like to be able to dynamically add a field at the user’s request. The
   user would go to the form and add some information like day/time/etc.., then 
   the last field could be used just once, but could also be used more depending
   on how many they had to add. Then when they submit the form I could just loop
   through and put all the info into a db table.
 * I have all the stuff working with a set number of fields. How do I use jquery
   or whatever, to add fields on demand then stick the fields into the db?

The topic ‘Plugin Dev: How do I code a dynamic form?’ is closed to new replies.

## Tags

 * [forms](https://wordpress.org/support/topic-tag/forms/)

 * 0 replies
 * 1 participant
 * Last reply from: [chuck252](https://wordpress.org/support/users/chuck252/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-dev-how-do-i-code-a-dynamic-form/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
