Click to See Complete Forum and Search --> : Radio Buttons


renegade420
02-11-2008, 09:18 AM
Hello,

I'm creating a form/questionaire.

If the user does not answer all questions then they cannot submit the survey. I would like to know how to make the radio buttons "optional". I have attached some of the code below! I have heard that you could make radio buttons hidden but I'm not sure how to incorporate it within this code. any help would be appreciated greatly!!

Thanks!



>Q1:</b> How would you rate our website</label></p>
<ul>

<input id=Q1 type=radio value=5 name=Q1
> 5

<input id=Radio1 type=radio
value=4 name=Q1> 4

<input
id=Radio2 type=radio value=3 name=Q1> 3

<input id=Radio3 type=radio value=2 name=Q1
> 2
<input id=Radio4 type=radio
value=1 name=Q1> 1</ul>

JMRKER
02-11-2008, 12:28 PM
I'm unclear of the concept. What do you mean by 'optional'? Do you want to leave all selections blank or do you need to add a button that says 'N/A'?

Otherwise:
In your validation section of the form entry, you could test the status of the RBtn. If not set, then make it equal to a value that is not displayed as a selection.