I gave a link to the page above, is it stripped from the question?
Main Topics
Browse All TopicsHi
I am having a very strange problem with a form validation script I'm using on the following page, it reports that value is undefined - which I thought was due to an incorrectly named element but it all appears to be ok.
http://app.kambee.com/?i=1
Error: value is not defined
LINE 14
The error is when the form is submitted - Another set of eyes would be greatly appreciated!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
logicjb,
The problem is checking for value with the radio buttons. The radios actually end up being a collection. You need to loop them, see which is checked, and then get the value of the checked button. I can help with the specifics if you need it.
Let me know if you have any questions or need more information.
b0lsc0tt
Hi,
You're trying to check the "value" of two radio controls.
thisform.q70 is an array of two radio controls, it does not have a value attribute.
Look into radio controls validation, here's a sample:
http://www.codeave.com/jav
validate_form, calls validate_required, with thisform.q70 as a parameter, it fails while checking this.q70.value, because it is an array of two radio controls.
- Maddog
Let me work on some code. It is easier to show than explain. In the meantime to test what I mean add an alert in the first function like ...
function validate_required(field,al
{
alert(field[0].value);
If the Yes is checked in the first question you will see the value. Basically the loop will make that work for all of the radios.
bol
Business Accounts
Answer for Membership
by: BadotzPosted on 2007-11-15 at 15:54:01ID: 20294132
Hard to see the problem from only your question...how about some code?