Ok this form validation works below. If I leave a box blank I get the error message. You are supposed to hit "OK" and be able to reenter, but instead all the information is still passed to the next page? This means that the script is allowing blank form information to be submitted. I don&#039t get it?<BR><BR>&#060;SCRIPT Language="VBScript"&#062;<BR>Sub btnSubmit1_onclick ()<BR> Dim ErrorString<BR> <BR> ErrorString = CheckFields()<BR> If Trim(ErrorString) = "" Then<BR> frmFB.submit<BR> Else<BR> MsgBox ErrorString<BR> End If<BR>End Sub<BR><BR>Function CheckFields<BR> Dim strMissing<BR> If Trim(frmFB.clientname.value) = "" Then <BR> strMissing = "Please Enter a CLIENT NAME."<BR> Elseif Trim(frmFB.username.value) = "" Then<BR> strMissing = "Please Enter a USERNAME."<BR> Elseif Trim(frmFB.password.value) = "" Then<BR> strMissing = "Please enter a PASSWORD." <BR> End If<BR> CheckFields = strMissing<BR>End Function<BR>&#060;/script&#062;