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

Question

Question

Can Laserfiche Forms Calendar field only shows available times

asked on February 1, 2017 Show version history

We have a customer that is looking to use a Laserfiche Forms for customers to select available times to schedule appointments. Is there any applications that anyone has used to provide this functionality to customers? 

0 0

Replies

replied on February 1, 2017

Matt,

I was able to get this to work by using the Timepicker.js file found HERE.  You can adjust the settings in Min/Max to reflect whatever times you please.  Here is the site that shows you how to manipulate the code: TimePicker

Here is the Code:

    $.getScript('yourformsserver/Forms/js/jquery.timepicker.js', function () 
		{ 
          $('.time input').timepicker({
            minTime: '5',
            maxTime: '10',
            defaultTime: '11',
            startTime: '10:00',
            dynamic: true,
            dropdown: true,
            scrollbar: true
          });
        });

Result:

-Nate

0 0
replied on February 1, 2017

Nate,

Thanks for the information. The customer is looking for much more than this. They are looking to have only appointments/time slots that they have available displayed on the drop-down. The trick is how to track the times that they have available. Right now, these are only tracked within metadata fields. It seems like it needs to be a third party system. 

0 0
replied on February 1, 2017

The time openings for each day would need to be stored available in a database somewhere so that a query could be written to only retrieve time slots that are available. As each time slot is reserved, it would need to be marked off in the database.

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

Sign in to reply to this post.