Time field attributes - hide seconds and set minute step

Andrii
Kilo Guru

1. Want to create field of Time format but to hide seconds

2. Want to set minute step so user will be able to set only 00,15,30,45 minutes

Is there a way to achieve this with setting Dictionary attributes of the field?

10 REPLIES 10

Please mark the answer correct, if I was able to answer your query.


Why are you forcing me to evaluate your answer? Let me decide what is correct answer without extra reminders.


Hi Andarii,



No force at all. Please take your time



Let's have the forum open, hope we get some good response from other experts as well.


I see - it is just the same sentence every time you answer:


I hope response is good enough to proceed further. Please provide your feedback appropriately (Like, Helpful, Endorse AND/OR Correct) to help community. 

Kalaiarasan Pus
Giga Sage

This appears doable with some DOM manipulation and scripting. But I do not think there is any such attribute that can do this for a form alone.


Even if we manage to do this, it would break on upgrades and would not work on portal. Would you be still interested in going ahead with this?



Another, alternate way would be to use a formatter, do a custom UI macro and add it on the form. The actual timer field can stay hidden and you could carry over the values of UI macro to the timer field. This wouldn't be a difficult task if you some HTML and Javascript.