Hello,
I have a field where today’s date is automatically inserted. I would like the date inserted to be today’s date + 2 days.
Can I do this in custom attributes?
Cordially.
You can consider using javascript parameter value
Example I enable javascript to get the next day
On the form I also make sure the date format is applied
The result I can have the next day as value
The script I used this the following. You can adjust it to add 2 days instead of 1
(function(){
var today = <WF_SYSTEM_DATE>;
var tomorrow = new Date();
tomorrow.setDate(today.getDate()+1);
return tomorrow;
})();
Thanks, that’s exactly what I wanted