Hi,

I have a input text field and a submit button. On placing a value in the input file and clicking on submit button, should take me to a url that verifies the value and if correct redirects to a different page and if wrong, responses back with an error message.

Can someone help me with this?

Thanks

Recommended Answers

Show us your code and where you are having trouble, and we will try to help. We don't write code from scratch for you.

Jump to Post

All 2 Replies

Show us your code and where you are having trouble, and we will try to help. We don't write code from scratch for you.

Take a look on .submit() form event in jquery http://api.jquery.com/submit/
This contains example that shows how can you prevent form from submit and return error on particular condition.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.