Microsoft
Software
Hardware
Network
Question : Deselect radio button in a ColdFusion flash form?
I have a form with a checkbox that if clicked disables the form fields. If a user happens to check this box AFTER having filled out any of the fields I want the fields to be reset/blanked. This was easy enough for checkboxes:
mycheckbox.selected = false;
and for text inputs:
mytextfield.text = "";
But I can't get this to work for radio buttons. I've tried all of the following to no avail:
myradiobutton.selected = false;
myradiobutton[0].selected = false;
myradiobutton[1].selected = false;
myradiobutton.checked = false;
...etc.
Is this possible?
Answer : Deselect radio button in a ColdFusion flash form?
>> I've tried all of the following to no avail
Those reference the wrong object. Use:
myradiobutton.selection.se
lected = false;
For:
<cfinput type="radio" name="myradiobutton" checked="true" value="yes"> Yes
.....
Random Solutions
Clients not connecting to WSUS
MySQL update set Concatenate question
Running netlogon script
ADFIND, DSQUERY or LDAP Querie for Pulling LastLogOn
How to stablish a proper setup in MS Outlook 2003 encrypting mails
how can i translate gujarati sentence into english sentence ??
Problems after Sharepoint server 2010 install - can not open central administration
Automatically Adding Text to Cells
SQL Simple syntax issue - based on Group By / Having
OCS 2007 R2 and Cisco call manager