FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Adding additional fields (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Adding additional fields
#713
Jon (Visitor)

Adding additional fields 3 Years ago  
Hi,

I saw it's possible for the admin to change the duration of a lunch or dinner.
How could I tweak tableboss in such a way that users could select this as one of the booking steps.

I now have a starting time which is from 10AM-3PM so I want a duration field after this one selection their end time (say 1PM) rather than just giving them a list with 1hr-2hrs-...

I think I've tackled it almost myself. The data is being pulled in through the _default_load function in tb.public.js but this one is only being executed once.
I need to find a function where I can change my onSelect eventlistener where I can pass the items from the previous field (starting time) to the next field (end time) end just delete the first hour in the list. I've looked in ux.select and ux.select2 but I cant seem to find it.

Cheers
 
Logged Logged  
  The administrator has disabled public write access.
#714
fabrizim (Admin)
Administrator
Posts: 270
graph
User Offline Click here to see the profile of this user
Gender: Male Location: Lowell, MA Birthdate: 1980-08-14
Re:Adding additional fields 3 Years ago Karma: 7  
Hi Jon-

This is a general question board. If you would like support, please login with your account information and use one support boards.

Best Regards-
Mark
 
Logged Logged  
  The administrator has disabled public write access.
Go to top