simplest way to do this
settings box does this:
2 radio buttons so that you either select optionA or optionB
on click OK settings are saved
Gadget does this:
upon closing of settings dialog box gadget updates to the settings
you entered via funtions such as
function optionCheck()
{ IF OptionA == "true"
do this { some more stuff }
Else
{ do this instead }
}
basically what I would like to do is have the settings dialog box open
with 2 radio button options which are then saved so that I can then
have the gadget can a function that checks the settings and changes
itself accordingly.
This should be really simple but for some reason I just can't get it,

radio form buttons?
NorCis
read and tried it but could not seem to get it to work and I need
a radio "checkbox" ... you know the one where you have several
options but can only select one, rather than an actual checkbox
where you can check off all the options. Going to give it another
try...
johnny_no1_boy
actually as you can see if you download the clock that radio buttons worked
great :) ... now to see if I can come up with some nice faces for it too.
fathi S. Elashery
dclements
For checkboxes, you need:
HTML:
and to reference that in code:
myID.checked = System.Gadget.Settings.read("mySetting");
davidg12
HTML:
<option value="value2">Option2</option>
Code to address that:
System.Gadget.Settings.write("mySetting", myID.value)