Dynamic Form Processing
Posted: Wed May 20, 2009 8:48 am
Hello. I've been working on a project for a little while, and I've hit a bit of a wall here.
I have a page that has a form on it. Using Javascript, the user can add as many fields as they need to a certain section. The input fields are dynamically named with a counter variable, so they will be like "field0", "field1", field2" etc. depending on how many the user adds. How can I process this with PHP? What is getting me is the fact that I don't know how many fields there will be, and I don't know how to find out on the fly with PHP... any ideas?
Sorry if I'm being vague here...
Thanks,
I have a page that has a form on it. Using Javascript, the user can add as many fields as they need to a certain section. The input fields are dynamically named with a counter variable, so they will be like "field0", "field1", field2" etc. depending on how many the user adds. How can I process this with PHP? What is getting me is the fact that I don't know how many fields there will be, and I don't know how to find out on the fly with PHP... any ideas?
Sorry if I'm being vague here...
Thanks,