0

I'm using Jquery's form validation plugin. I wanna display validation error messages inside the fields that are invalids.

For example, if the email field is invalid, I wanna clear its content and display the message above it. I say above, 'coz there's no need to change the content to the error message.

How is that?

1 Answer 1

2

This pretty much sums it up:

jQuery Validation Plugin Example

I would recommend leaving the bad field values in place when you issue error messages. It gives the user a chance to see what they've done wrong and correct it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.