You are viewing limited content. For full access, please sign in.

Question

Question

Allow time field to include 30 minute options.

asked on September 21, 2021

Is it possible to include 30 minute intervals when using a Time field in Forms? For example: 12:00, 12:30, 1:00, 1:30, etc) They are currently running version 11.0.2108.10347.

4 0

Answer

SELECTED ANSWER
replied on September 30, 2021

I have an update on this one! If you go to C:\Program Files\Laserfiche\Laserfiche Forms\Forms\lib\jquery-timepicker and edit the jquery.timepicker.min you can update the line (var C=0;l<=g;l+=60*H(++C) and change the 60 to 30 to include 30 minute intervals.

3 0

Replies

replied on September 22, 2021

This please lol. I've used JavaScript to add this to quite a few forms and it would be great if we could just select from a variety of time increments for the drop down.

4 0
replied on September 29, 2021

I know in previous versions of Forms you could edit the jquery.timepicker.js file to do this but in the newest version of Forms it's changed. I've seen JavaScript accomplish this before by using Single Line fields rather than the actual Time field. The problem is, this specific form is already built out with a ton of time fields in different tables with all of the formulas already built out. 

0 0
SELECTED ANSWER
replied on September 30, 2021

I have an update on this one! If you go to C:\Program Files\Laserfiche\Laserfiche Forms\Forms\lib\jquery-timepicker and edit the jquery.timepicker.min you can update the line (var C=0;l<=g;l+=60*H(++C) and change the 60 to 30 to include 30 minute intervals.

3 0
replied on April 18, 2022

Thank you!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.