[PHP] How to do Add More/expanding forms?

2001-08-30 Thread Chris Bailey
I have a page that is for a little recipe database app. On the page where you enter your recipe, there is a set of form fields for ingredients - one line per ingredient, and a couple of fields per (e.g. amount, measurement, ingredient). I'd like to have say 5-10 ingredient lines in the form by

Re: [PHP] How to do Add More/expanding forms?

2001-08-30 Thread Jack Dempsey
Try looking for javascript solutions. Give them the default 5 and a javascript function that prints out another input variable and dynamically names it. Then you can just normally post at the end. i don't think the javascript is difficult either, and i'm sure you could find a script for it. check