Added: 10 months ago
From: phpacademy
Views: 3,551
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (10)

Sign In or Sign Up now to post a comment!
  • 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

  • Comment removed

  • Very nice tutorial, gonna implement this into the register/login site I created with your other tutorial :D

  • cant do else statement get and {} error

    

  • 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

  • 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..

  • Comment removed

  • 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 Exactly!

  • first to become first :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more