can someone help me out. I have followed all instructions but I seem to get output of 'all fields required' even before I click the submit button. Is this normal? What am I doing wrong? TY
The most easy way to validate client side email input is by changing the input type to email and not text again..This way the browser its self throws a notification error when the input is not a valid email format..
can someone help me out. I have followed all instructions but I seem to get output of 'all fields required' even before I click the submit button. Is this normal? What am I doing wrong? TY
adamtarca 4 months ago
Comment removed
adamtarca 4 months ago
Very nice tutorial, gonna implement this into the register/login site I created with your other tutorial :D
Grkgermn333 5 months ago
cant do else statement get and {} error
bawong415 10 months ago
this strlen() and > than num , no necesary u must only user maxlenght in ur input text or look use alert whit java and is all
rapblack2 10 months ago
The most easy way to validate client side email input is by changing the input type to email and not text again..This way the browser its self throws a notification error when the input is not a valid email format..
blueprint7000 10 months ago
Comment removed
blueprint7000 10 months ago
htmlentities should only be used on output.. you're corrupting the data and breaking your validation.
< will be counted as 1 character in the form but then you convert it into 4 chars with htmlentities which will break your strlen checks.
Myztik7 10 months ago
@Myztik7 Exactly!
Grkgermn333 5 months ago
first to become first :)
akuna100 10 months ago