1.

Solve : Q & A radiobuttons to generate response??

Answer»

Hi all. What I'm trying to do on a webpage I'm making is to have 3 pairs of radio-buttons (Yes and No answers to three questions) and when the visitor has made a selection for all three pairs, an answer appears below.

This should be very simple because it's only the one answer - "If you answered yes to all three questions then..." - that's what my friend wants on his webpage.
I could make the answer text white, as that's the background colour, and have it change to black when there's been a selection made for each pair of radio-buttons - I just have no idea how to code that in html

Could anybody HELP? Any advice would be greatly appreciated.

Many THANKS,
- Windscreen ElvisYou've no idea how to code it in HTML because it isn't possible. You are going to have to resort to a scripting language like Javascript.

There are quite a few tutorials on the net about Javascript. I generally like the webmonkey.com tutorials; try having a LOOK through that.

www.webmonkey.comAnother TUTORIAL web site:

http://www.w3schools.com/default.asp



Discussion

No Comment Found