function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num January 22, 2025 Miles Consulting Contact Information Email General Information:
info@milesconsulting.co.uk
Postal Address 142 Kings Avenue
Phone Fax +44 (0)7092 019441 VAT Registration No GB 629 5366 11 Email us:
Sales:
Customer Support:
Webmaster:
support@milesconsulting.co.uk
Woodford Green
Essex
IG8 0JQ
If you have any questions or comments about this web site, or require further information about Miles Consulting, please use the enquiry form below to send us a message.