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
stop error oxoooooo7b(OxF78D2524,OxC0
000034 will not load XP setup!!!!!!!
Remote Web Workplace different website address
How to get the text from jsp file to database?
is it possible virus affected VPN client spread virus in corporate network?
How to compress a string into a short representation in ASP.NET using C# or VB.NET?
Can't access Exchange 2003 OWA from Internet
Migrate SBS 2003 to Hyper-V
SqlDataAdapter InsertCommand not updating primary key value in dataset
Split String in C#
How to get an USB speaker to work with Eee PC 900 Xandros Linux