|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Dynamically check multiple field values
Hi,
Has anyone ever globaly checked multiple field values without having to specify each individual element statement? This is what I am working with (although it's not working): Code:
var i;
var element;
for (i=1; i<15; i++) {
element = document.form.t[i];
if (element.type == "text") {
if (element.type.value == 75) {
document.images["img1"].src = pics[0];
}
}
}
This is only one example. I'm working with a form with 7 columns and 14 rows all with individual field names to perform calculations. I'm searching for a way to run a global validation on the value entered in each field; any suggestions would be greatly appreciated! |
|
#2
|
|||
|
|||
|
RE: Dynamically check multiple field values
Macromedia Dreamweaver have similar scripts. Check it out!
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Dynamically check multiple field values |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|