For Duration field, how to show only days?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2018 08:55 PM
For Duration field, how to show only days?
I have tried as per documentation:
But its not showing
Its not working for days, for minutes its working
To show only days, how its achievable , can anyone point out...
Attribute set for minutes
Duration field converted to Minutes
Attribute set for days
But its not showing only days:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2020 06:54 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2020 11:47 PM
I have no idea. If the content in this thread doenst work, I'd start a new one and also open a HI ticket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2020 12:00 AM
Thanks for checking, will do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 03:22 AM
Hello Ratnesh,
Try below code on On-load client Script for duration field to hide hours, min and sec:
function onLoad()
{
document.getElementsByClassName('col-xs-7 col-sm-12 col-md-12 col-lg-8 no-left-padding-lg')[0].style.display='none';
}
If you noticed in below code there is an array index number which will specify the index of duration field. In case of multiple duration field you need to specify the index number.
document.getElementsByClassName('col-xs-7 col-sm-12 col-md-12 col-lg-8 no-left-padding-lg')[0].style.display='none';
www.DxSherpa.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2022 02:35 AM - edited ‎10-20-2022 03:31 AM
I have submitted an idea for this feature, if you'd like to upvote: