Hi
i've got this code which works ! but its only validating 7 out of the 9 checkbox fields i have. Is there a limit on the length ?
the missing 2 fields are chkFailurePink and chkCalendar
thanks
keith
i've got this code which works ! but its only validating 7 out of the 9 checkbox fields i have. Is there a limit on the length ?
the missing 2 fields are chkFailurePink and chkCalendar
thanks
keith
Code:
Response.Write "if (document.frmEnquiry.chkBNE.checked == false && document.frmEnquiry.chkRucking.checked == false &&
document.frmEnquiry.chkSpillage.checked == false && document.frmEnquiry.chkfailureBlack.checked == false &&
document.frmEnquiry.chkfailureGreen.checked == false && document.frmEnquiry.chkExtraGreen.checked == false &&
document.frmEnquiry.chkExtraPink.checked == false) { " & vbLf
Response.Write " alert('You must select at least one tick box that the enquiry relates to');" & vbLf
Response.Write " return false;" & vbLf
Response.Write "}" & vbLf