My code for this is below: Question:
I have a form button...onclick it does function validate...
if agree1 and question 1 are empty it should alert the message...
else it should do check.
However, during my testing it's not doing the alert if these strings
It appears that agree 1 and question1 are checkboxes. I can't remember for sure but you might try to check to see if agree1 and question1 are false like you do in function Check(). This should display the alert if it is false.