The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have a form which I am trying to validate with JS. Problem is for the life of me I can’t get it to work.
Can anybody tell me where I’m going wrong?
Seems to be basically working alright, what would be incorrect with it then? By the way, to check against an empty value you could also do :
if (!x) ...