There is a page with a simple form, a button on the form and a field for entering numbers. I need to check what the user entered, if he did not enter a number or a number less than 200, then tell him about it. If he entered everything correctly, then redirect him to another page by passing the number entered by him using the post method. How to do it right?

So far I have come to this, the form is sent to me by ajax on the server, there I check the data and return json, having disassembled that I can tell the user that he entered incorrect data, but now how can I transfer all this by post to another page?

  • Give the code of your efforts, it is very difficult to guess the text - Taarim
  • @Taarim, resolved the issue by dynamically creating a form and sending it to the server via jquery - Shelter Holver pm

0