How do I make automatic time allocation?

I don’t have an immediate good way to do that. What I think you can do might look like this:

  • Set the doctor’s ID to a field in User Profiles when a customer clicks on a doctor to view his details.
  • Use a relation + lookup to retrieve the start and end admission times for that doctor.
  • Use JavaScript to generate a comma delimited list of start and end internals for that doctor, based on the lookup above.
  • Use this method to transpose them to a helper table and use that in a choice component.
1 Like