Retrieving value of Radio button

I have a Radio button on a web form which has a default value checked when the form loads initially.

If I modify this selection, the value is recorded, however if I don’t then the value isn’t recorded?

Any help appreciated?

Subject: Retrieving value of Radio button

Hi

In your save validation, test the field to see if it contains a value, if it doesn’t , set it to the default value.

javascript would look like

if ( document.forms[0].radiobutton.value == “” ) { document.forms[0].radiobutton.options[0].selected = true; }

(assuming the default is the first in the selection list)

HTH

andyG