I know in vb you can loop through all the controls on a form and check to see if none are null, before trying to update the database, but not sure how this could be done via vbscript or html. In vb it goes like this:
Dim ctl as Control
For Each ctl in Form.controls
If TypeOf ctl Is TextBox Then
If IsNull(ctl) Then
MsgBox "Enter data here"
ctl.SetFocus
End If
End If
Next ctl
Dim ctl as Control
For Each ctl in Form.controls
If TypeOf ctl Is TextBox Then
If IsNull(ctl) Then
MsgBox "Enter data here"
ctl.SetFocus
End If
End If
Next ctl