Creating a form to allow users to pick up an appointment date

I’m working on creating a form to allow users to pick up an appointment date; when they submit his name, generate automatically his number and date.

If there are more than 10 orders for a given day, the orders over 10 need to “spill” to the next workday. Of course there’s already an order for that next workday. So moving the original date to the next workday may make that day’s orders go over 10. It’s kind of a recursive problem.

Welcome to the community, @WalidOmara! This post discussed previously should help you solve your issue: