How to auto-populate date field on record producer

JordanDR
Tera Contributor

Hi Community,

We are creating a record producer on our Service Portal for hardware return in the office. The form is pretty straightforward and has been easy to make. One of the questions is the date of hardware return. Currently, it requires the user to click into the menu and choose the date. Is there any way to make it so that the date field auto-fills to the current date?

find_real_file.png

It is a small thing but I want to keep the number of user actions on this form to a minimum!

Thank you!

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Hey,

Just use this in default value of the variable javascript: new GlideDate();

Best Regards
Aman Kumar

View solution in original post

6 REPLIES 6

Aman Kumar S
Kilo Patron

Hey,

Just use this in default value of the variable javascript: new GlideDate();

Best Regards
Aman Kumar

Hi,
I need to auto populate date field in request form when clicked on an event in calendar form date.