Option to prevent users from submitting the form when the ticket count is exceeded

  • solidarites
    Demandé le 9 octobre 2023 à 06:04

    Bonjour,


    Serait-il possible que Jotform empêche l'envoi d'un formulalre si une valeur maximale est dépassée ?

    L'utilisateur doit sélectionner un nombre de tickets par jour et si la somme totale de ses tickets dépasse 4, il faudrait soit :

    • un message d'avertissement
    • que le bouton "Submission" ne soit pas disponible

    Est-ce possible de paramétrer ces conditions dans le formulaire ?


    Merci d'avance.


    Pierre ANGENOT

    Les Solidarités - Belgique

    Option to prevent users from submitting the form when the ticket count is exceeded Image 1 Screenshot 20

  • Mary Jotform Support
    Répondu le 9 octobre 2023 à 08:22

    Hi Pierre,

    Thanks for reaching out to Jotform Support. Unfortunately, our French Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in French, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. Yes, you can add a condition to hide the submit button and prevent the user from submitting the form if they exceeded the number of allowed tickets. Let me show you how. I can see that you already added a Hide condition, but instead of hiding the submit button, you chose to hide the page break. Change the page break to the submit button and the condition is set.

    Option to prevent users from submitting the form when the ticket count is exceeded Image 1 Screenshot 60

    Here's how the form should work.

    Option to prevent users from submitting the form when the ticket count is exceeded Image 2 Screenshot 71

    You can also add a paragraph field that will show the error message for the user who exceeded the number of tickets.

    Option to prevent users from submitting the form when the ticket count is exceeded Image 3 Screenshot 82

    Then we'll set up the condition that will show this warning message when the ticket is more than the value of 4.

    Option to prevent users from submitting the form when the ticket count is exceeded Image 4 Screenshot 93

    Here's how it should look like on the form. Here's the sample cloned form.

    Option to prevent users from submitting the form when the ticket count is exceeded Image 5 Screenshot 104

    Give it a try and let us know how it goes.

  • solidarites
    Répondu le 9 octobre 2023 à 09:14

    Woaw !

    Thank you Mary !

    I followed your explanations and it works !

    Exactly what I hope !

    https://form.jotform.com/LesInfo/lessolidarites2024


    Pierre

  • Mary Jotform Support
    Répondu le 9 octobre 2023 à 09:21

    Hello Pierre,

    Thanks for getting back to us. I'm glad that we were able to help you with your concern.  If you have any questions, just reply to this thread, or you can create a forum thread from the Contact Us page. We’ll be happy to help.

    Let us know if there’s anything else we can help you with.