View Single Post
  #1 (permalink)  
Old 10-14-04, 04:03 AM
blessedrub blessedrub is offline
Newbie Coder
 
Join Date: Jan 2004
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Java Script Form Validation

How can I validate input values that come in from an array

This is the javascript code

if(document.webform.FirstName.value == ""){
window.alert('You must enter your First Name! Please Try Again');
event.returnValue=(false);}


This is the way that the value is being brought in

<input type= Text Name= "Array[Amount]" size="10">
Reply With Quote