Asignación de Calculo a respuestas

  • ayurmaga
    Fecha de consulta 15 de diciembre de 2024, 3:05

    Hola, estoy intentando introducir unos cálculos en el widget de Calculos de formulario con preguntas de opción múltiple con valor 1 cada respuesta porque el resultado no es numérico.

    Quiero asignar: la respuesta A de todas las preguntas a la palabra Vata, la respuesta B de todas las preguntas a la palabra Pitta y la respuesta C de todas las preguntas a la palabra Kapha. Es posible asignar respuestas a Palabras?

  • Eda Jotform Support
    Fecha de respuesta 15 de diciembre de 2024, 7:14

    Hi Magali,

    Thanks for reaching out to Jotform Support. I understand what you’d like to do, but I’ll need a bit of time to work out a solution. I’ll get back to you shortly.

  • Eda Jotform Support
    Fecha de respuesta 15 de diciembre de 2024, 10:12

    Hi Magali,

    Our Spanish 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 Spanish, 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’t directly assign words like Vata, Pitta, or Kapha in the Form Calculation Widget if it only works with numbers. You can decide how many times a, b, and c were chosen by calculating the number of digits the Total Form Calculation Widget has. Instead, you can calculate specific options by assigning the powers of ten to each answer. This method works well if you have less than 10 questions. Let me show you how to do it:

    1. In Form Builder click on the Multiple Choice Element and then Gear icon on the right side of the field.
    2. In the Options tab of the panel on the right, navigate to Calculation Values and toggle it to ON.
    3. Next, enter these calculations. A = 1 represents Vata B = 10 represents Pitta C = 100 represents Kapha.Asignación de Calculo a respuestas Image 1 Screenshot 70
    4. Now, click on Add Element at the top-left of your screen.
    5. In the Widgets tab of the panel on the left, navigate to the Form Calculation Widget and drag and drop it into your form. You'll need to add 4 Form Calculation Widgets to the form.Asignación de Calculo a respuestas Image 2 Screenshot 81
    6. Click on the Form Calculation Widget and then click on the Wand icon.
    7.  Enter the calculations and then click on Save.Asignación de Calculo a respuestas Image 3 Screenshot 92
    8. Click on the Form Calculation Widget labeled as Total and then click on the Wand icon on the right side of the field.
    9. Now, calculate the Kapha enter calculations then click on Save.Asignación de Calculo a respuestas Image 4 Screenshot 103
    10. Click on the Form Calculation Widget labeled as Pitta and then click on the Wand icon on the right side of the field. 
    11. Now, calculate the Pitta enter calculations then click on Save.Asignación de Calculo a respuestas Image 5 Screenshot 114
    12. Click on the last Form Calculation Widget labeled as Vata and then click on the Wand icon on the right side of the field.
    13. Finally, calculate the Vata enter calculations then click on Save.Asignación de Calculo a respuestas Image 6 Screenshot 125

    Give it a try and let us know if you need any help.