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
VB script to uninstall with admin rights.
Can't print to Dymo Labelwriter 400 turbo after adding labelwriter 450 turbo drivers on windows 2003 terminal server
Having a problem seeing USB devices after installing libusb - NO KEYBOARD OR MOUSE !!
Test javamail through command line
In .NET, how can I add to a variable value to a query result using LINQ to SQL?
Boot Acer Ferrari 1200 laptop from dvd to upgrade vista to windows 7
Javascript form validation problems
Dynamically Change .XSD File Location in Crystal Reports Using ASP.NET 2.0
Project Server 2010 won't install
Reset of displayed form when "requery" is performed