trying to determine why form isnt validating properly