Date picker element setting today's date using Update/calculate field condition

  • Profile Image
    MILA_Miami
    Asked on June 4, 2026 at 2:27 PM

    Hi Jotform Support team.

    I am trying to insert the today's date into a date picker element using the Update/Calculate condition, but without success. I tried the string TODAY and {TODAY} and it didn't work.

    Could you help me?

    I know that I can set the default date to CURRENT and it works, but when I execute the form using /edit option the old date is not changed even though the /edit execution is some days after the first execution. Because of this I need to set the today's date using a condition to update the date picker element.

    Thank you in advance.


  • Profile Image
    Podo: Support Specialist
    Replied on June 4, 2026 at 2:27 PM

    Hi Miami,

    Thanks for reaching out to Jotform Support. I'm an AI assistant here to assist you.

    Let me help you with that:

    Based on the available information, it’s possible to:

    • Set a Date Picker’s default value to Current (today’s date) from its options.
    • Use Update/Calculate conditions to insert text or calculated values into fields.

    However, there is no documented way in the current information to use a special keyword like TODAY or {TODAY} inside an Update/Calculate Field condition to dynamically write today’s date into a Date Picker when the form is opened in /edit mode. The guides only show:

    • Setting Default Date = Current directly in the Date Picker’s options.
    • Using Update/Calculate to insert static text (for example, “Hello World”) or perform numeric calculations between fields.

    Because of that, the behavior you described is expected with the documented features: when you open a submission in /edit mode, the Date Picker that was prefilled with Current keeps the originally saved date, and there is no supported condition syntax in the provided information to force-refresh it to “today” automatically.

    With the current documentation, the only supported approach to have “today’s date” captured is:

    1. Add a Date Picker to your form.
    2. Set its Default Date to Current in the field’s options.
    3. Optionally make it read-only and/or hidden if you only need it for logging the date when the form is first opened or submitted.

    There is no confirmed method in the available information to update that same Date Picker to a new “today” value automatically when the same submission is edited later.

    Let us know if you have any other questions.

Your Reply