Hello.
I´m using Bonita 7.3.2 and I need to auto fill a datepicker widget with the current date.
There is some way to do this automatically?
Thanks in advance.
Regards,
Geovanny C.
Hello.
I´m using Bonita 7.3.2 and I need to auto fill a datepicker widget with the current date.
There is some way to do this automatically?
Thanks in advance.
Regards,
Geovanny C.
Hi Geovanny!
How are you?
You must create a variable of type “date” in the BonitaStudio and assign it as the default " Now" value.
Then on the form you create a "External API " variable called " get_today " and take the following code:
…//API/bpm/activityVariable/{{taskId}}/variable_name
Select the Datepicker and assign in the value field:
get_today.value
I hope I’ve helped
Greetings.
I hope it works for you
Thanks a lot for your response.
I will try to do it now.
Regards