The date fields just come out blank after upgrading to 10.2 when using tokens to populate.
One is populated by {/dataset/_initiated_date} default value and the other by {/dataset/Date} as a default value
The date fields just come out blank after upgrading to 10.2 when using tokens to populate.
One is populated by {/dataset/_initiated_date} default value and the other by {/dataset/Date} as a default value
Perhaps try using current_date instead of {/dataset/Date}. That's what the variable picker populates.
In the case of {/dataset/_initiated_date}, I see the same issue, even when using the variable picker to populate the value, with a field created in version 10.2. So I wonder if that's a bug...
current_date works if manually entered!! Thanks. I never manually entered this before, I just choose it from the process variables in the token selector. Now when I use the token selector everything is entered using the {/dataset/ syntax which none of them work in the way they used to. When you get it right the form says "date captured on form submission". Where did you get current_date from, is it just a little known secret entry? Is there a list of these non-syntax tokens somewhere?
When use select "Current Date" from the token selector, it didn't input "current_date" in the default value? What browser are you using?
When use select "Instance Start Date" from the token selector, does it input "{/dataset/_initiated_date}"? Can you clarify what do you mean by "Now when I use the token selector everything is entered using the {/dataset/ syntax which none of them work in the way they used to."?
For current_date, we can the current time from the browser and date is following the process time zone.
Figured it out. Before I was choosing the option today, which changed to current date. When I didn't find today I found Instance Start Date and choose that. I threw me off that the name of the token had changed. Current Date appears to be the same thing as Today.
Can you give more detail on how you set the process? I was not able to reproduce it? For the field that you use date tokens, they are not in the starting form right? Are they set to read-only? Can it always be reproduced with the specific process? If do, can you open a support case by providing the download process?
In my case, on the default value setting on a date field, I used the variable picker to select the option for {/dataset/_initiated_date}, and then I previewed the form and the date field was blank.
This is the expected behavior because when you preview the form, the instance has not start yet, so there is no value for {/dataset/_initiated_date}.
The {/dataset/_initiated_date} can only have value when you use it on a form that is used after the first step for the instance will only be started after perform the first step.
Oh. haha! Silly me.