i have a javascript that allows a user to add/remove a text box from a form dynamically. i need help on how to process the form after the user adds/removes how many text boxes he/she wants.
Help plz... Shox
PHP and Javascript... Form help...
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
name the field such that php can load it via an array method such as:
They data will be stored in $_POST['foo'] when passed via the post method..
Code: Select all
<input type="text" name="foo[]" />