How to have a default value in the drop down column in the Input table?

  • Profile Image
    tcope1234
    Asked on August 20, 2020 at 02:53 PM

    Hello,

    I'm using below as a widget in Jotform.  I'd like to have a default AM/PM for each day.  Is it possible to do that?  It is laborious to have users input 4 pieces of data (time and then AM/PM) for each day of the week and I am trying to speed the process up.   If not, any suggestions you recommend?

    Screenshot
  • Profile Image
    Girish
    Answered on August 20, 2020 at 08:24 PM

    I understand that in your form https://form.jotform.com/202124134091036 you have used this input table field.

    Please note that currently, you've set up all columns as dropdowns.

    Unfortunately, there is no way to set default values in dropdown fields in the Input table. As a workaround, you can use this app to generate pre-populated form URL: https://prepopulate.jotform.io/ 

    Here is a related guide for reference: Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters 

    OR

    If you want to have a default AM and PM for each day, you will need an additional set of rows for each day and change the AM/PM column to a text box field as shown below:

    15979694462108_2.png

    Then using conditions pass on value to the AM/PM text box fields as shown below. I've used a trigger field as the "restaurant name" as it is a required field:

    1597969388screencast21082020_1.gif

    Here is a reference guide: https://www.jotform.com/help/414-Calculate-Values-in-the-Input-Table-Through-Condition 

    Do review and let us know if this helps.