is it possible to pass date/time the same way.

  • Alex Meyerovich
    Asked on June 7, 2021 at 10:49 PM

    is it possible to pass date/time the same way. Looks like the prepopulate tool ignores those fields. Thanks

  • Ashwin JotForm Support
    Replied on June 8, 2021 at 3:57 AM

    Yes, it is possible to populate date and time field through URL parameter. If the name of the date field is {date}, here are the parameters you need to use in URL:

    date[month] to populate month in the date field.

    date[day] to populate day in the date field.

    date[year] to populate year in the date field.

    date[timeInput] to populate time in the date field.

    date[ampm] to populate AM or PM in the date field.

    Here is a sample URL to populate the form's date and time field:[month]=11&date[day]=09&date[year]=2110&date[timeInput]=01:30&date[ampm]=AM

    Hope this helps.

    Do get back to us if you have any questions.