Come calcolare una somma in base alla selezione fatta dal partecipante?

  • pezzillicompany
    Domanda del 6 agosto 2025 alle ore 06:08

    Buongiorno,

    ho creato questo form: https://eu.jotform.com/build/252153264859362, purtroppo quando gli utenti selezionano la scelta "si" porta con te un ospite, la somma riportata nel campo totale non è corretta, risulta un totale diverso. Al campo totale, se un utente aggiunge un ospite, dovrebbe essere 78,3€ in più, ma questo non succede. Posso gentilmente chiedervi un supporto per capire se sto sbagliando qualcosa?

    Grazie in anticipo del supporto.
    Un saluto,
    Ionut

    Jotform Thread 29781463 Screenshot
  • Vincenzo Jotform Support
    Risposta del 6 agosto 2025 alle ore 06:43

    Buongiorno Ionut,

    Grazie per aver contattato il supporto tecnico di Jotform. Ho controllato il suo modulo e ho potuto notare che non è stato configurato correttamente. Risolvere il problema è semplice. Le spiego come fare:

    1. Nel Costruttore di Moduli, fare clic sul campo che mostra la Quota d'iscrizione.
    2. Successivamente fare clic sull'icona a forma ingranaggio che appare sulla destra del campo.
    3. Nel pannello che appare sulla destra dello schermo, fare clic sulla scheda Avanzate.
    4. Poi, scorrere fino a Valore Predefinito e rimuovere il valore mostrato. Come calcolare una somma in base alla selezione fatta dal partecipante?  Image 1 Screenshot 60
    5. Adesso, nella barra di navigazione arancione in cima alla pagina, fare clic su Impostazioni.
    6. Nella colonna sulla sinistra dello schermo, fare clic sulla scheda Condizioni.
    7. Fare click sul pulsante Aggiungi Condizione e poi scegliere Aggiorna / Calcola Campo. Come calcolare una somma in base alla selezione fatta dal partecipante?  Image 2 Screenshot 71
    8. Imposta la prima condizione come mostrato nello screenshot sottostante e poi fare clic su Salva:
      Come calcolare una somma in base alla selezione fatta dal partecipante?  Image 3 Screenshot 82
    9. Imposta la seconda condizione come mostrato nello screenshot sottostante e poi fare clic su Salva:
      Come calcolare una somma in base alla selezione fatta dal partecipante?  Image 4 Screenshot 93

    Ecco fatto, adesso il calcolo dovrebbe avvenire in modo corretto. Dia un'occhiata alla registrazione video sottostante per vedere il risultato su un modulo di prova:

    Come calcolare una somma in base alla selezione fatta dal partecipante?  Image 5 Screenshot 104

    Qui può testare questo modulo di prova o clonarlo per capire meglio come è stato configurato.

    Provi e ci faccia sapere se ha bisogno di ulteriori chiarimenti.

  • pezzillicompany
    Risposta del 6 agosto 2025 alle ore 15:45

    Grazie molte,

    quindi mi conferma che adesso il campo totale diventa come da allegato?

    Un saluto.
    Ionut

    Come calcolare una somma in base alla selezione fatta dal partecipante?  Image 1 Screenshot 20

  • Manilene Jotform Support
    Risposta del 6 agosto 2025 alle ore 16:01

    Hi lonut,

    Our Italian Support agents are busy helping other Jotform users right now, so 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, it might take a while until they're available again.

    Now, coming back to your question, I confirm that by following the configuration described in the thread, the Total field in your form should correctly calculate the sum based on the participant’s selection, adding €78.30 if the option Yes to bringing a guest is selected. This is done by setting up Update/Calculate Field conditions that adjust the total value depending on the user’s choice.

    Specifically, in the Form Builder, it is important that you:

    1. Remove the default value from the registration fee field.
    2. Set up two calculation conditions to Update/Calculate Field:
    • One for when the user selects Yes so that €78.30 is added to the total.
    • One for when the user does not select Yes, so the €78.30 is not added.

    This configuration ensures a dynamic and accurate calculation of the total field based on the participant’s choice. If your screenshot shows the total field updated with the correct amount, then the configuration has been successfully applied.

    Reach out again if you have any other questions.

  • pezzillicompany
    Risposta del 6 agosto 2025 alle ore 17:01

    Thank you very much for your support
    Everything seems to be working correctly.

    Best regards,
    Ionut

Your Reply