problemi con il widget "acquisto bigletti" di overbooking

  • michaelcucchi
    Domanda del 12 settembre 2023 alle ore 10:15

    Buon pomeriggio,

    Stavo testando il widget "Acquisto Biglietti" e mi sono accorto di un problema. Se c'è solo un biglietto rimasto e due persone cercano di comprarlo nello stesso momento (da dispositivi diversi), Jotform registra entrambi gli acquisti. Questo causa un overbooking, anche se il widget mostra che c'è solo un posto disponibile.

    Come si potrebbe risolvere il problema? È un dettaglio che potrebbe creare parecchi problemi.

    Grazie per l'aiuto

  • Joseph Jotform Support
    Risposta del 12 settembre 2023 alle ore 10:53

    Buongiorno Micheal,

    Grazie per aver contattato il supporto tecnico di Jotform. Ho clonato e testato il tuo modulo ed effettivamente, compilando il modulo contemporaneamente da 2 dispositivi differenti sono riuscito ad inviare il modulo da entrambi anche se le quantità rimasta era 1.

    Come soluzione potresti sostituire il widget Acquisto Biglietti con il widget Inventario. problemi con il widget acquisto bigletti di overbooking Image 1 Screenshot 30Il funzionamento è molto simile ma, eseguendo lo stesso test, permette solo a colui che ha cliccato prima su invia, di inviare il modulo. Al rispondente che completa dopo il modulo, anche di pochi secondi, viene mostrato un messaggio di errore.problemi con il widget acquisto bigletti di overbooking Image 2 Screenshot 41

    Prova e facci sapere se hai bisogno di ulteriore aiuto.

  • michaelcucchi
    Risposta del 12 settembre 2023 alle ore 12:54

    Ho sperimentato con il widget "Inventario" di Jotform, ma sto riscontrando un problema.

    Vorrei che gli utenti possano selezionare solo un posto da un elenco di opzioni disponibili. Tuttavia, se utilizzo più widget "Inventario" per rappresentare diverse disponibilità e posti, gli utenti possono scegliere una opzione da ciascuno, il che non è ciò che desidero. Mi serve che siano in grado di fare una singola selezione da un elenco complessivo di posti. Avete suggerimenti su come potrei impostare questo?

  • michaelcucchi
    Risposta del 12 settembre 2023 alle ore 12:59

    In aggiunta, ho tentato di utilizzare le "condizioni" sul widget "Inventario" per nascondere le opzioni non selezionate dall'utente. Tuttavia, questa soluzione sta causando un altro problema: non riesco a inviare il modulo e ricevo un messaggio di errore che dice "Submission failed. Invalid submission value." poichè sembra che devo mettere un valore per ogni "inventario" e quelle nascoste sono quindi non valide

  • Sarah Jotform Support
    Risposta del 12 settembre 2023 alle ore 15:50

    Hi michaelcucchi,

    Thanks for reaching out to Jotform Support. Unfortunately, our Italian 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 Italian, 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. In this case, your inventory widget will require a value selected. However, the condition you're using isn't compatible with the widget. To get the result you're looking for, you can use the Ticket Purchases widget, which functions in a similar fashion. Let me show you how to set this up, as well as creating conditions to show and hide the other Ticket Purchases widget:

    1. In Form Builder, under the Build tab, click on Add Form Element.
    2. Next, select Widgets and search for Ticket Purchases.
    3. Now, drag and drop the element onto the form.
    4. In the side menu, type in the first ticket with the number of available tickets in brackets {10}. Finish configuring the widget by putting 1 in the Max Selection field. This will only allow one option to be selected on the element. problemi con il widget acquisto bigletti di overbooking Image 1 Screenshot 50
    5. If you'd like to have both tickets -- 111 and 222 -- available on the same element, you can type 111 {10} in the row beneath the first ticket option. problemi con il widget acquisto bigletti di overbooking Image 2 Screenshot 61
    6. If you'd like each ticket type to be separate, repeat steps 2-4 to create a second item.
    7. Now, delete the other two Inventory elements.
    8. Click on the element and then select the trash can icon to delete. Repeat this step for the second Inventory element.

    If you've decided to use two separate elements for your tickets, like in your original form, you'll need to use conditions to show and hide the fields. Let me show you how to set this up:

    1. In Form Builder, click on Settings.
    2. Now, select Conditions from the left-hand side of the page.
    3. Next, click on Add Condition and select Show/Hide Field.
    4. In the next page, enter the following condition. This will hide the field for 222 if 111 is selected: problemi con il widget acquisto bigletti di overbooking Image 3 Screenshot 72
    5. After clicking Save, repeat steps 3-4 for the second ticket purchase field: problemi con il widget acquisto bigletti di overbooking Image 4 Screenshot 83

    Here's my demo form, where you can test out these conditions and fields. For testing purposes, I've condensed everything down to one page.

    Give it a try and let us know if you have any other questions.

  • michaelcucchi
    Risposta del 12 settembre 2023 alle ore 19:30

    Hi, thanks for your explanation,

    I had already discussed the option of using the "Ticket Purchase" in the fisrst (italian) message, I conducted a test and found that if two users were to select the same event with only one seat left and submit the form simultaneously, the system would go into overbooking, registering both of them. Customer service therefore advised me to use the "Inventory" widget instead, he also encountered this overbooking issue.

    Do you know if there's a solution to this overbooking issue?

    Thanks you much

  • Joseph Jotform Support
    Risposta del 13 settembre 2023 alle ore 03:20

    Buongiorno Micheal,

    Grazie per averci ricontattato. Usando il widget Inventario potrai inserire un solo prodotto e quindi, dovrai inserire più widget in base al numero di prodotti totali che hai. Tuttavia, è possibile impostare il modulo come desideri, basta inserire delle condizioni. Ecco come fare:

    1. Nel Costruttore di Moduli, inserisci tutti i widget che ti servono , imposta le quantità e la minima/massima quantità selezionabile.problemi con il widget acquisto bigletti di overbooking Image 1 Screenshot 50
    2. Inserisci delle condizioni Abilita/Richiedi Campo.problemi con il widget acquisto bigletti di overbooking Image 2 Screenshot 61
    3. Impostale come segue.problemi con il widget acquisto bigletti di overbooking Image 3 Screenshot 72

    La condizione impostata come sopra, disattiva tutti gli altri widget se uno di essi è stato riempito. Dovrai impostare una condizione simile per ogni widget disabilitando tutti gli altri restanti. Ecco il risultato: problemi con il widget acquisto bigletti di overbooking Image 4 Screenshot 83

    Prova e facci sapere se hai bisogno di ulteriore aiuto.