I’m wanting to create some very basic validation for a user login, it’s not sensitive data.
I just want to check that the username and password are correct if they are process the form if they are not just unhide a paragraph of text that prompts the user to enter th correct details. Nothing more is required.
Any help with this will be greatly appreciated.
It is not advisable to use jquery to validate in front end as it will expose your data to clients. But if you really wants to , you can do the following.
PS:Value validation should be done in server side scripting, regex validation can be done in client scripting.