g_modal field type for date field

Rona Sarda_as
Tera Expert

Hi.
Is there anyone here that knows where I can find a list of all the available field TYPES that g_modal has?
If there's none, do you know how can I make a field in my g_modal to only accept a date field/value?

19 REPLIES 19

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Can you share some details on what form you are using with screenshot?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Rona Sarda_as
Tera Expert

@Ankur Bawiskar  Here is my modal/UI Page and I need the Future Date field to be a date type field.
Im using sn_hr_core_case by the way.find_real_file.pngfind_real_file.png

I'm able to do this on the backend form by just editing the UI Page and this is the result:
find_real_file.png
I need to be able to do the same in the workspace.

Hi,

Did you try giving type: Date?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Yep. I also tried datetime, date_time, date/time, glide_date and none of them works. The field just hides when i tried to put those as type (including date type) so i assume it’s incorrect coz it’s not supposed to hide