jQWidgets Forums

jQuery UI Widgets Forums Scheduler Disable create new appointment on non-working hours

This topic contains 2 replies, has 2 voices, and was last updated by  rahul6473 8 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • rahul6473
    Participant

    Hello Everyone,
    Can i disable the create new appointment box to appear for non-working hours i.e user not able to create a new appointment if cell is disabled. If user has set his working timing from 1-5 then people can create an appointment in that specific schedule only currently system is allowing to create an appointment without any schedule.

    Please suggest me how i can achieve this.

    Kind Regards,
    Rahul


    Hristo
    Participant

    Hello Rahul,

    Unfortunately, no such option.
    But you could try to create a workaround.
    You could bind to cellClick event and get current day, hour and minutes.
    And base on this information to create some customizations.

    Also, I would like to suggest you look at this topic and to look at this demo.
    I hope this help.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com


    rahul6473
    Participant

    Hello Hristo,

    Thanks for the link. Can we set from hour and to hour in 30 mins format like start time can be 7.30 Am to 9.30 PM.

    These params are in view called fromhour and tohour.

    Like a doctor can be available from 7.30 Am to 9.30 PM but in fromhour and tohour we can pass only hours like 7 and 9.

    Please advise if we can achieve this.

    Regards,
    Rahul

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.