Be able to use multiple types of time appointments on the form
I'm wondering if anyone has tried implementing some modifications on the scheduling side of things.
What I'm wanting to do is set up a checkbox on the form, if unchecked, the appointment time would be 15 minutes, if checked, then 30 minutes, or perhaps be able to select two adjacent slots if available.
Any starting points? I started reading through the documentation and thought I should get some advice.
I'm not to sure how to solve this on the client side, maybe you could add some external js code that hide every other value in the time dropdown menu or something like that.
Be able to use multiple types of time appointments on the form
I'm wondering if anyone has tried implementing some modifications on the scheduling side of things.
What I'm wanting to do is set up a checkbox on the form, if unchecked, the appointment time would be 15 minutes, if checked, then 30 minutes, or perhaps be able to select two adjacent slots if available.
Any starting points? I started reading through the documentation and thought I should get some advice.
Hi Cynthia,
I'm not to sure how to solve this on the client side, maybe you could add some external js code that hide every other value in the time dropdown menu or something like that.
If you follow this guide: http://www.ubooking.org/support/documentation/tutorials/custom-controller/
In the action, add a FormCollection parameter lets call it collection.
In the razor form you add a dropdown menu, like this:
Serverside:
I have not tested this but it may work. At least it might give you some ideas.
// Herman
is working on a reply...