How to set a default value on Input Table?

  • valcourt.cafeteria
    Demandé le 10 novembre 2023 à 14:41

    Bonjour

    sur mon jotform, je me sert de celui-ci pour passé mes commande et je voudrais avoir un montant soit total de mon bon de commande soit avoir le montant sur différente section et montant totale à la fin.

    est ce que je peux faire ça ?

    How to set a default value on Input Table? Image 1 Screenshot 20


  • Mightor Jotform Support
    Répondu le 10 novembre 2023 à 17:15

    Hi valcourt.cafeteria,

    Thanks for reaching out to Jotform Support. Unfortunately, our French 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 French, 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. It's not possible to set a default value on the Input Table field. But let me check for a workaround. I’ll get back to you as soon as I can.

    Let us know if you have any other questions.


  • Mightor Jotform Support
    Répondu le 10 novembre 2023 à 18:54

    Hi valcourt.cafeteria, 

    Thanks for patiently waiting. Check the steps and screenshots below on how to put a default value on the Input Table field.

    1. Add a hidden Number field and set the value you want to see in the Input Table cell. You'll need to add another Number field if you want to show a different value on another cell in Input Table.

    How to set a default value on Input Table? Image 1 Screenshot 50

    2. Create an Update/Calculate Field condition like the below screenshot. The default value that you put on the Number field will be displayed on the cell that you will select. Also, check this page on how to calculate values in Input Table using conditions.

    How to set a default value on Input Table? Image 2 Screenshot 61

    3. Then go to the Form Calculation widget to set the cell where you want to get the value from. Check this guide on how to set the subfields in the Form Calculation widget.

    How to set a default value on Input Table? Image 3 Screenshot 72

    That's it. Here's the form once you've followed the above steps:

    How to set a default value on Input Table? Image 4 Screenshot 83

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

  • valcourt.cafeteria
    Répondu le 14 novembre 2023 à 15:45

    thx you i will try tonight and let you know