Thread: chap 15
View Single Post
 
Old July 6th, 2005, 08:56 AM
mkayombo mkayombo is offline
Registered User
 
Join Date: Jun 2005
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi manal_saga,
Checking the mandory (or validity of) fields be done at html page using Javascript before submitting to asp for updating the database
eg.
if (document.form1.GivenName.value.length == 0)
    {
     alert("Missing Name Information")

    }

Also form fields that are not filled, when updating a database, they carry a null value in the updating query and this may lead to the error your getting.

Sorry I am also new Asp, also to chap15