JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
You may solve your problem by Conditional Logic. The correct answer can be checked by using "Condition" in your form. After adding a text box to your form, click on Segment&Embed segment and choose "Condition" from above.
If you want to display a message at the end of the test, to show whether the answer is correct or not, you can choose "Thank you" page that will display a message.
Since you are going to check the correct answer in the text box, kindly choose TextBox Field from the dropdown menu next to the "if" statement. In this part, you can compare the answer to the correct value, whether they are equal, not equal, etc.
After creating your condition(if..state..value), you can choose what the page will display (in the do ... segment). For example, you can create custom message on submission.
If you want to show two different pages, one for correct and one for not correct, you can create two conditions,
You can learn more about Conditional Logic at this page : https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic
I hope it helps.