Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Q & A radiobuttons to generate response?  (Read 5272 times)

0 Members and 1 Guest are viewing this topic.

Windscreen_Elvis

  • Guest
Q & A radiobuttons to generate response?
« on: September 28, 2004, 05:59:47 AM »
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 Elvis

Corrosive

  • Guest
Re: Q & A radiobuttons to generate response?
« Reply #1 on: September 28, 2004, 12:50:15 PM »
You'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.com

robertmillar

  • Guest
Re: Q & A radiobuttons to generate response?
« Reply #2 on: September 28, 2004, 02:25:12 PM »
Another tutorial web site:

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