Form does not clear after errors are fixed

  • Ruth_Currie
    Asked on September 20, 2024 at 10:10 AM

    We are still in testing mode with a free account. I am asking testers to exceed the stock amount so they can see the error code.

    Form does not clear after errors are fixed Image 1 Screenshot 30

    After they see it, I ask them to change it to an allowable quantity, but sometimes the form does not readily clear so the user can proceed. It continues to ask user to fix error. But if the user continues the order can be changed to exceed the quantity with no error code:

    Form does not clear after errors are fixed Image 2 Screenshot 41

    Also, we experience the form not accepting 0 as a quantity, as if the minimum order is 1.

    When looking at so many support issues regarding error codes, we are hesitant to proceed with confidence. Have these error codes been addressed at Jotform recently?


  • Lesther JotForm Support
    Replied on September 20, 2024 at 10:40 AM

    Hi Ruth,

    Thanks for reaching out to Jotform Support. There's a CSS code injected in the form that is hiding the checkbox on each item. When the item is unchecked, the error disappears while the entered quantity is above the maximum stock. If the user clicks on the item, this will check the checkbox, and it will require at least 1 quantity. There's no issue with the error message, these are all valid. You can't just tell why because the checkbox are hidden and can't see what's the actual status of the items. Refer to the screenshot below.

    Form does not clear after errors are fixed Image 1 Screenshot 30

    I suggest removing the CSS code and let the checkbox display in this case to avoid confusion. Refer to the image below:

    Form does not clear after errors are fixed Image 2 Screenshot 41

    Let us know if you have any other questions.

Your Answer