-
Eva_JonasDomanda del 10 aprile 2025 alle ore 09:45
buongiorno, avrei bisogno di capire come posso sommare campi diversi appartenenti allo stesso widget.
Ad esempio alla domanda:
Per che percentuale le seguenti vacanze impattano nel tuo business?
Vacanze al mare: %
Vacanze in montagna: %
Vacanze enogastronomiche: %
Vacanze con corsi: %
....
La somma di tutte le % dovrà dare 100
è possibile farlo? come e con che strumenti?
Grazie Silvia -
Danilo Jotform SupportRisposta del 10 aprile 2025 alle ore 12:25
Hi Eva,
Thanks for reaching out to Jotform Support. 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, you can use our Form Calculation widget to calculate the percentage of multiple filed. To convert the result to a percentage, you can enclose the calculation in parentheses and multiply it by 100. You can also add a '%' symbol and click on it to convert it into a string.
Can you share the form URL you're referring on this question? You can easily find your form's URL in Form Builder. Let me show you how:
- In Form Builder, in the orange navigation bar at the top of the page, click on Publish.
- In the Quick Share tab, click on Copy Link in the Share With Link section.
Once you share the form URL with us, we’ll be able to help you better with this.
-
Eva_JonasRisposta del 11 aprile 2025 alle ore 03:35
Thanks for the quick feedback.
The form is practically still empty, I had done some testing to see what tools I could use.
This is the link
https://form.jotform.com/250993579750068
Thank you and have a nice day
-
Joseph Jotform SupportRisposta del 11 aprile 2025 alle ore 04:21
Buongiorno Silvia,
Se vuoi sommare tutti i valori da 0 a 100 per ognuno dei 4 widget e fare si che il risultato finale sia un valore percentuale il cui massimo è 100%, puoi utilizzare un Widget di Calcolo. Ecco come fare:
- Nel Costruttore di Moduli, clicca su Aggiungi Elemento.
- Nella scheda Widget, seleziona Widget di Calcolo.
- Clicca sull'icona della bacchetta magica di fianco al widget.
- Clicca sul pulsante Aggiungi Campo per aggiungere i campi del tuo modulo.
- Imposta il calcolo come di sotto.
Dato che hai 4 campi, ognuno di essi dovrà essere diviso per 4 e poi tutti dovranno essere sommati. Ecco il risultato:
Puoi clonare e testare il mio modulo di prova qui.
Rimaniamo a disposizione per ulteriori chiarimenti.
- Nel Costruttore di Moduli, clicca su Aggiungi Elemento.
-
Eva_JonasRisposta del 11 aprile 2025 alle ore 05:40
perfetto, grazie e buona giornata
Silvia
La tua Risposta
Something Went Wrong
An error occurred while generating the AI response. Please try again!