Try this:
First, as stated do not capitalize the 'if', 'document', 'value' or 'else' words.
Second, in the function you spell the password field as 'PassWord' using a capital 'W'. Change to a lowercase 'w' as it is spelled that way in the form.
First, as stated do not capitalize the 'if', 'document', 'value' or 'else' words.
Second, in the function you spell the password field as 'PassWord' using a capital 'W'. Change to a lowercase 'w' as it is spelled that way in the form.