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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.