Finds the appointment template for first appointment picker from the given reference.
Each appointment picker is associated with an appointment template that can be configured in the backend.
Finds the appointment template for first appointment picker from the given reference.
Each appointment may have multiple appointment types. Each type defines a schedule when appointments can be booked.
Finds the currently selected date of the first appointment picker from the given reference.
Returns undefined
when the given picker instance reference does not
resolve to any existing appointment picker instance.
Gets a list of all disabled date ranges, for the first appointment picker from the given reference.
Disabled dates cannot be selected by the user. Note that dates without available slots are usually also displayed as disabled, but are not included in the result of this function.
Checks whether the given date is disabled for the first appointment picker from the given reference.
Disabled dates cannot be selected by the user. Note that dates without available slots are usually also displayed as disabled, but are not included in the result of this function.
Checks whether the appointment picker is locked, for the first appointment picker from the given reference.
The picker is locked when it is disabled or read-only and cannot be edited.
Returns false
when the given picker instance reference does not
resolve to any existing appointment picker instance.
Checks whether the appointment picker is opened or closed, for the first appointment picker from the given reference
Returns false
when the given picker instance reference does not
resolve to any existing appointment picker instance.
Gets the lock state of the appointment picker, for the first appointment picker from the given reference.
The picker is locked when it is disabled or read-only and cannot be edited.
This is similar to isLocked, but contains info about whether the picker is disabled or read-only.
Returns enabled
when the given picker instance reference does not
resolve to any existing appointment picker instance.
Finds the month currently viewed in the calendar for the first appointment picker from the given reference.
Returns undefined
when the given picker instance reference does not
resolve to any existing appointment picker instance.
Gets the options of the first appointment picker from the given reference.
Returns undefined
when the the given reference does not point to
an existing appointment picker.
Gets the persisted appointment, if any, for the first appointment picker from the given reference.
Each picker may be associated with an appointment that was booked on the server, usually previously when the form was first submitted. Normally selected slots that do not correspond to an available slot are treated as invalid. When a selected slot correspond to the persisted slot, that selection is always allowed. that corresponds to this persisted appointment
Retrieves the currently selected slot of the first appointment picker from the given reference.
Returns undefined
when the given picker instance reference does not
resolve to any existing appointment picker instance.
Retrieves the start date of the currently selected slot of the first appointment picker from the given reference. The result is returned as a JavaScript date object.
Returns undefined
when the given picker instance reference does not
resolve to any existing appointment picker instance.
Provides functions related to getting data from an appointment picker, such as the selected slot or whether the picker is opened / closed.
Available via
$.xutil.appointmentPicker.get
.