Display Time Field in a portal page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023 04:23 PM
Hi,
I have a field in a custom table which is of type "Time". It is displayed properly (3 textboxes for HH, MM and SS) when i see it in the form. But it is displayed as a single text box when I use a form widget to show it in a service portal page.
I want to show 3 text boxes so that the user can enter HH,MM and SS.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023 08:48 PM
Hi @Chitra23 ,
Seems like you have selected "String" type as your variable type !!
You need to select the field type as date/ time , then you could see as shown below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2023 09:22 PM
what type of variable is required on form?
what's the relationship between the Time field on custom table and this variable?
are you creating record producer and trying to map the variable with that field?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2023 04:56 AM
The field is of datatype "Time". I'm trying to replicate something similar to schedule job script execution (sysauto_Script) table form, where the user can select the time that they want their scheduled job to run. I've created a custom table which will collect time from the user and do some process before creating an entry in sysauto_Script table. I'm using the form widget to display this custom table in a service portal page. My requirement is user should be able to enter HH, MM and SS .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 05:35 AM
Have you been able to find a solution to this issue?