crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada

  • contatovanessaguti
    Perguntado em 19 de dezembro de 2024 às 09:15

    Olá, nunca criei um teste antes e estou tendo dificuldades para ajustar as lógicas. Quero fazer um teste de padrões onde o resultado ao final saía em porcentagem juntamente a uma descrição. Alguém poderia me ajudar nisso?

  • Shane Jotform Support
    Respondido em 19 de dezembro de 2024 às 11:59

    Hi Vanessa,

    Thanks for reaching out to Jotform Support. Our Portuguese 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 Portuguese, 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 understand that you want to create a test form that calculates the percentage and display a custom message, so let me show you how to set that up using a demo form.

    I created a sample form with two Input Tables, and each table has its own total score and percentage. See following screenshots:

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 1 Screenshot 140

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 2 Screenshot 151Now, let me show you how to set up the scores and percentage:

    1. Select the Input Table, and click on the Gear icon.
    2. Go to the Options tab of the properties.
    3. Set the Calculation Values for each cell, where you input the row's values as comma-separated numbers, which represents each column.

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 3 Screenshot 162Do this step for each Input Table in your form.

    Next, set up the Form Calculation widgets:

    1. In Form Elements go to the Widgets Tab.
    2. Find the Form Calculation widget, and add them to your form.

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 4 Screenshot 173

    3. Select the widget, and click the Wand icon.
    4. Click the Add Field button and find the first Input Table.
    5. Select All the Rows, then add a Plus (+) sign between each row, before clicking on Save.

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 5 Screenshot 184
    See following screenshot on how it should look like:

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 6 Screenshot 195
    Do it with the other Form Calculation widget for the second Input Table as well.

    Next, set up the calculation for percentage:

    1. Click on the Wand icon of the Form Calculation widget for percentage.
    2. Click on Add Field and find the Total 1 Score, then add the calculation before clicking on Save.

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 7 Screenshot 206
    See following screenshot for the calculation:

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 8 Screenshot 217As for the overall average, just add all averages together and divide by number of items:

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 9 Screenshot 228Now, add the field to display the message based on the percentage:

    1. Open Form Elements and find the Short Text field, then add it to your form.

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 10 Screenshot 239
    Finally, create the condition to add the custom message based on the percentage:

    1. Click on Settings from the top navigation bar.
    2. Select Conditions from the left menu.
    3. Select Update/Calculate field from the list.

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 11 Screenshot 2410

    4. Set the condition similar as the following, before clicking Save:

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 12 Screenshot 2511Continue to add conditions as needed based on how many custom messages you want to display based on the percentage.

    See following screencast for the expected result:

    crie um formulário de teste que calcule a porcentagem e exiba uma mensagem personalizada Image 13 Screenshot 2612Here is my demo form which you can check and clone. We also have a guide about How to Insert Text or Calculation Into a Field Conditionally and Performing Calculations With Input Table that you can check out.

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

  • contatovanessaguti
    Respondido em 19 de dezembro de 2024 às 12:35
    Agradeço sua atenção e direcionamento. Tentei seguir o passo a passo mas é
    realmente difícil para mim.
    É possível agendar uma reunião onde alguém possa me ensinar
    simultaneamente?
    Agradeço desde já!
    Em qui., 19 de dez. de 2024 às 13:59, Jotform <noreply>
    escreveu:
    </noreply>...
  • Shane Jotform Support
    Respondido em 19 de dezembro de 2024 às 13:20

    Hi Vanessa,

    We don’t currently offer live phone or meeting support. 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.

    Can you explain which part of the process you are having difficulties with, so I can help you better?

    Once we hear back from you, we'll be able to help you with this.