"); document.write("

Thank you for your submission.

"); document.write("
Hosted by www.Geocities.ws

"); document.close(); } } // Check for a blank field function isFieldBlank(theField) { if(theField.value == "") return true; else return false; } // Check for a valid email address (Does it contain a "@") function isValidEmail(theField) { if(theField.value.indexOf('@', 0) == -1) return false; else return true; } // Check that a phone number has the correct number of digits function isValidPhoneNumber(theField) { inStr = theField.value; inLen = inStr.length; // If this is a ten digit number XXXYYYZZZZ if(inLen == 10) { for(var i=0; i
Oracle Webserver JavaScript Form Verification Demo

This Oracle Web Server Stored Procedure uses Javascript to check if the form field has been left blank, this example will try to ensure that your email address is somewhat valid.

     Name :  (any value)
    Email :  (name@domain)
    Phone :  (1112223333 or 001112223333)


The Source Code

Hosted by www.Geocities.ws

1