[jQuery][Email|Url|Ip] Verification Form, may useful for somebody?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

[jQuery][Email|Url|Ip] Verification Form, may useful for somebody?!

I created a small script for input verification of email, ip and/or url. It's my first jquery script. So pls leave a like and/or a comment. https://code.sololearn.com/W06bq54lkIw8/#js I hope it's useful for somebody. cheers nouse

19th May 2017, 1:20 PM
nouseforname
nouseforname - avatar
2 Answers
0
well, i would strongly recommend using php for stuff like that, as validation usually happens on the server side: for e-mail: FILTER_VALIDATE_EMAIL, for ip: FILTER_VALIDATE_IP, for url: FILTER_VALIDATE_URL. saves you a lot of time.
19th May 2017, 1:58 PM
Markus
Markus - avatar
0
Thanks for your answer. i know i could use php for this. But it also has it's struggles. Anyway, this was just an idea to learn more about jQuery. ps. i already created some php web pages where i used the php verifications in addition with regex.
19th May 2017, 5:46 PM
nouseforname
nouseforname - avatar