RE: Controlling the Number of Inputs with a Dropdown

2009-01-18 Thread Adrian Lynch
A simple jQuery script should be ok: script type=text/javascript src=scripts/jquery-1.2.6.min.js/script script type=text/javascript $(function () { $(select[name=numberOfPeople]).change(function() { var numberOfPeopleChosen

Re: Controlling the Number of Inputs with a Dropdown

2009-01-18 Thread Les Mizzell
Adrian Lynch wrote: A simple jQuery script should be ok: This is the first example I've been able to get to work, inlude a dozen or so from Google searches. OK - *now* I see what it's doing finally! I can extend this to do exactly what I want! Thanks very much! My eyes are open a little

Re: Controlling the Number of Inputs with a Dropdown

2009-01-17 Thread Les Mizzell
Ryan Stille wrote: You can do this all with JavaScript, it works really slick. I just did this a few weeks ago and wrote a blog post about it:http://www.stillnetstudios.com/2009/01/05/dynamically-adding-and-removing-form-elements/ That's pretty nice. I've not been able to get it to work so

re: Controlling the Number of Inputs with a Dropdown

2009-01-16 Thread Ryan Stille
You can do this all with JavaScript, it works really slick. I just did this a few weeks ago and wrote a blog post about it:http://www.stillnetstudios.com/2009/01/05/dynamically-adding-and-removing-form-elements/ Or you can go the route you are heading, where you ask for how many, then submit