Results 1 to 4 of 4
Sep 14, 2007, 08:38 #1
- Join Date
- Oct 2006
- 0 Post(s)
- 0 Thread(s)
Forms: Showing extra fields if a <select> option is chosen
I would like to create a new piece of functionality, where I have a <select> list, and if someone choose options 2, 3, 4 or 5 more fields will appear underneath. This is used as part of a cart made in PHP, so I might have to save the fields if a page refresh is needed, but I was thinking I could do it with some DOM scripting (JS) and CSS, hiding the fields until needed.
I can't find an appropriate tutorial on this though. Anyone know of one?