Closed
Bug 19460
Opened 25 years ago
Closed 25 years ago
Radio Button on Form
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
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; } }
Updated•25 years ago
|
Assignee: karnaze → pollmann
Comment 1•25 years ago
|
||
Reassigning to Eric.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 2•25 years ago
|
||
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•