We have recently upgraded to coldfusion 8 and I'm looking to do a little more with my online forms, to make them easier for the end user. The first feature I'd like to tackle is displaying some form fields, conditional to the input on another field. i.e. Do you have a car? Yes [ ] No [ ] IF the user selects yes another form field shows up, which was previously hidden. i.e. What car do you have? I've have got this to work using CFWINDOW which is far from ideal, but i'm sure there must be a better way. Thanks in advance for your help.
Actually, a javascript lib is the best way to do this. I use prototype, and the slider.js in a questionnaire app to accomplish this. if the answer is yes or no what ever you prefer then slides open addition questions
A simple way to hack this up too is to use javascript to modify the display property of a div tag surrounding the form elements.