How can I validate form input and pop up a message box stating ie: "Please enter password" by using VBScript?

I've found a lot of examples using JavaScript, but how would you do it in VB?

Just can't get it to work.