- [2/6, 3:52 PM] JIBIN JIJO: script type="text/javascript">
- //Form validation code will come here. function validate()
- if document.myForm Name value)
- alert("Please provide your name!"); document.myForm.Name.focus(): return false;
- if document.myForm. EMail.value)
- alert( "Please provide your Email!"); document.myForm.EMail.focus(); return false;
- [2/6, 3:53 PM] JIBIN JIJO: if( document.myForm.Pin.value"|| isNaN( document.myForm.Pin.value)|| document.myForm.Pin.value.length !=6)
- alert( "Please provide a Pin in the format ######"); document.myForm.Pin.focus():
- return false;
- 1 if( document.myForm.Country.value="-1")
- alert( "Please provide your country!");
- return false;
- 1 return( true );
- </script>