Closed Bug 19460 Opened 25 years ago Closed 25 years ago

Radio Button on Form

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 18840

People

(Reporter: andy, Assigned: pollmann)

References

()

Details

I would select an option from a radio group, the button would show that it was selected, but when the form was submitted an error was returned stating that a selection was needed from that radio group. The form was validated by the following JavaScript. function changeLocation(objSearch){ var value for (var i=0; i<objSearch.length; i++){ if (objSearch[i].checked){ value = objSearch[i].value; break; } } if (value == null){ alert("Please click a search option"); }else{ self.location.href = value; } }
Assignee: karnaze → pollmann
Reassigning to Eric.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
{Radio}[index].value isn't implemented yet. This is bug 12307. *** This bug has been marked as a duplicate of 12307 ***
Status: RESOLVED → REOPENED
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
*** This bug has been marked as a duplicate of 18840 ***
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.