Duration Field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi All,
My client have an urgent need, we need to display a field with this time format only hh:mm, anyone have an idea which type of field can be used for this need
PS: This field need to be filled manually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
@Hachim AAZAOUI I don't think there is a specific field which stores hh:mm. Howver you can use Duration field i.e. Glide Duration where you can store hh and mm part ignoring Day and Seconds part.
Please mark my response as helpful if it helped you.
Thanks,
Mahesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Hachim AAZAOUI ,
I tried your problem in my PDI and it works for me please check below solution
I created a field type is Time and also created a client script which runs onLoad and added below code
function onLoad() {
//Type appropriate comment here, and begin script below
document.getElementById('incident.u_show_timedur_sec').style.display='none';
}
Please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
54m ago
Hi @Hachim AAZAOUI ,
It’s not possible without performing DOM manipulation, which is not recommended.
However, you can create a Duration type field and add the attribute max_unit=hours. This will make the field appear as shown in the screenshot below:
If this solution helps you then, mark it as accepted solution ✔️ and give thumbs up 👍!