Como posso criar ou inserir tabelas de entrada de dados e calculo

  • archersplan
    Perguntado em 17 de dezembro de 2023 às 20:19

    Ola,

    Estou tentando inserir nos meus formularios tabelas de calculo como uma planilha de excel, contendo celulas de entrada de dados e outras celulas contendo formulas para serem calculadas durante o preenchimento da tabela. A medida que se preenche uma coluna de dados a coluna seguinte ja calcula.

    Voce pode orientar como possso inserir uma tabelas de 4 colunas e 12 linhas? Sendo que 2 colunas possuem células de calculo e as outras duas são celulas para entrada de dados.

    Obrigado

    Mario

    Hi, I'm trying to insert calculation tables into my forms as an Excel spreadsheet, containing data entry cells and other cells containing formulas to be calculated when filling out the table. As you fill in a column of data, the next column is already calculated.

    Can you advise how I can insert a table with 4 columns and 12 rows? Two columns have calculation cells and the other two are cells for data entry.

    Thanks

    Mario

    Jotform Thread 10099421 Screenshot
  • Jeric Jotform Support
    Respondido em 17 de dezembro de 2023 às 22:26

    Hi Mario,

    Thanks for reaching out to Jotform Support. I'd like to let you know that I am using a translation tool to provide assistance, but if you would prefer to get assistance in Spanish Language, we can forward your ticket to our Spanish team. However, please note that it could take longer to receive a response.

    With regard to your concern, give me some time to check this out. When I have an update, I'll let you know.

  • Jeric Jotform Support
    Respondido em 20 de dezembro de 2023 às 02:32

    Hi Mario,

    Thanks for your patience and I apologize for the delay. I found a solution. We can use the Input Table element and use Update/Calculate Field conditional logic. Let me show you how:

    1. Click on Add Form ElementComo posso criar ou inserir tabelas de entrada de dados e calculo Image 1 Screenshot 70
    2. Select Input TableComo posso criar ou inserir tabelas de entrada de dados e calculo Image 2 Screenshot 81
    3. Click on the Gear Icon
    4. Select Field
    5. Under Input type, select Numeric Texbox
    6. Label the row and column. If you need to add more rows and columns, just simply add a new lineComo posso criar ou inserir tabelas de entrada de dados e calculo Image 3 Screenshot 92

    Now, let's create the condition.

    1. Click on Settings
    2. Select Condition
    3. Select Update/Calculate FieldComo posso criar ou inserir tabelas de entrada de dados e calculo Image 4 Screenshot 103
    4. Create the Condition. Add a If statement. In this example, If Table is filled
    5. Select Calculate Field Value for the Do
    6. Create the Calculation
    7. For the Summary, select the table and select the specific cell to where the result will showComo posso criar ou inserir tabelas de entrada de dados e calculo Image 5 Screenshot 114

    When creating the calculation, make sure you know the formula and use the Add Field button to choose the table and the specific cells involve in the calculation as shown in the screencast below.

    For the Speed, the formula is, Distance/Time.

    Como posso criar ou inserir tabelas de entrada de dados e calculo Image 6 Screenshot 125

    Here's the demo form. I only created calculation for speed in row 1.

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

  • archersplan
    Respondido em 1 de janeiro de 2024 às 20:27

    Thank you, I will follow your suggestion.