How to find the largest value entered in the previous fields?

  • JamesHSC
    Perguntado em 23 de setembro de 2023 às 06:47

    Bom dia!

    Há possibilidade de ciriar um campo que mostre os dois valores maiores digitados nos campos anteriores?

    Ex:

    Campo A: 5

    Campo B: 3

    Campo C: 10

    Resultado:

    Campo Primeiro valor maior; 10

    Campo Segundo valor maior: 5

  • Shirized Jotform Support
    Respondido em 23 de setembro de 2023 às 11:34

    Hi James,

    Thanks for reaching out to Jotform Support. Unfortunately, our Portuguese 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 Portuguese, 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. You can get the largest value entered in the previous field by using the max function in the Form Calculation widget. Check out the steps and screencast below to see how it's done:

    1. In Form Builder, click the Add Form Element.
    2. Under the Widgets tab, select and drag the Form Calculation in your form.
    3. Next, in the Form Calculation Settings, click the horizontal dots to open Math Functions.
    4. Search for the max function.

    How to find the largest value entered in the previous fields?  Image 1 Screenshot 30

    Here's the result:

    How to find the largest value entered in the previous fields?  Image 2 Screenshot 41

    If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better? 

    Give it a try and let us know how it goes.