Skip to main content
Question

Custom Date Picker - How to allow users to select by minute rather than 15 mins only?

  • November 6, 2024
  • 5 replies
  • 46 views

AndrewWildeyNess
Apprentice
Forum|alt.badge.img

We have a scenario where our users need to select the exact time on a custom Date Time picker when submitting a Service Item. By default it is set to only allow every 15mins (shown below). We are on Portal v2. Has anyone else out there got any custom code we could use to make this possible on a specific item or several items? 

 

5 replies

Roxwell
Top Contributor ⭐
Forum|alt.badge.img+9
  • Top Contributor ⭐
  • November 6, 2024

Not something I’ve come across before. my best suggestion would be to have time in a text field and then handle it separately. 

 

Why do you need a SPECIFIC time?


AndrewWildeyNess
Apprentice
Forum|alt.badge.img

Thanks @Roxwell. We are using it to request train tickets - so need exact times etc to add to Calendars and other Applications that are a part of that process. 


Roxwell
Top Contributor ⭐
Forum|alt.badge.img+9
  • Top Contributor ⭐
  • November 6, 2024

Ah, intersting. All the time selectors in Fresh are 15 min increments, other than the time entry.

Off the top of my head this is what I would do

 

 


AndrewWildeyNess
Apprentice
Forum|alt.badge.img

Thanks @Roxwell - very helpful.  Freshservice do love a good workaround!

Other Freshservice modules (Problem, Change, Release) allow by minute time/date pickers so it is the inconsistency here which we are finding a little frustrating.

From the Change Module: 

 


Forum|alt.badge.img+11
  • Skilled Expert
  • November 11, 2024

Looks like a good Idea to raise @AndrewWildeyNess.  We’d certainly upvote it.