How can I detect from input boxes any attempt to insert an email address or phone number.
This is the main scenario: we have some inputs where user should only write what they are for, like name or street or features.
How can I detect/verify after the user submits that in all that data he sends there are no: emails/phone numbers. Take in consideration that I also have to eliminate this kind of tries:
email at domain dot com, emails @ [spaces] dot [spaces] com and so on.
Are there any plugins, tools out there we can use? Do you have an idea about this? Let’s put it to the test.
We are building a web application. (php/javascript mainly)
If you are searching for jQuery validation plugins there are tons of them.
E.g. http://bassistance.de/jquery-plugins/jquery-plugin-validation/ or search Google for “jquery validation plugin”
Also validate your input server-side with php after submit, because Javascript can be disabled in the browser.
There are also many tutorials out there (e.g http://myphpform.com), or search SO.