Advertisement

04.15.2004 at 10:25AM PDT, ID: 20955449
[x]
Attachment Details

javascript and forms

Asked by gezzuzz in Miscellaneous Web Development

Tags: form

i want to validate a form with java script..
but because my from was created dynamicly i can't hard code names

i want to replace

document.addinv.firstname0.value

with

document.addinv."firstname"+index.value

i done it before can't rememberStart Free Trial
[+][-]04.15.2004 at 10:31AM PDT, ID: 10835218

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.15.2004 at 10:33AM PDT, ID: 10835237

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.15.2004 at 10:36AM PDT, ID: 10835269

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Miscellaneous Web Development
Tags: form
Sign Up Now!
Solution Provided By: dgooding
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.15.2004 at 10:38AM PDT, ID: 10835288

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.15.2004 at 10:42AM PDT, ID: 10835311

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32