Mar 03, 2021 06:44 AM
I am trying to create a mentor request form & table for our community and I haven’t been able to figure out the setup to meet our requirements. Here they are:
How would one go about setting this up?
Thank you for all your help!
Solved! Go to Solution.
Mar 04, 2021 12:00 AM
If you have a “Mentor Requests” table like this:
You can have a formula field “created this month” with formula:
IF(MONTH(TODAY()) = MONTH({Created Date}), 1, 0)
This flags the current month bookings with 1 (and zero otherwise). Back on your mentors table:
you can have a “count this month” field which is a conditional count:
This count field allows you to create a view where the “count this month” is less than 2. Then your booking form uses this view to allow requestors to pick from the list of available mentors rather than all mentors.
Mar 03, 2021 12:25 PM
Hi @Selman_Kaldiroglu - have a look at this post which is similar:
You can create of view of mentors that have less than two requests in the last month and this is what feeds your form.
Mar 03, 2021 11:39 PM
Thanks for your response however I am not sure if this would work since our max capacity is defined as Mentor and the current month. So its a first come first serve basis each month.
Not sure how I would Count number of mentor requests by (Mentor,Month) combo.
Mar 04, 2021 12:00 AM
If you have a “Mentor Requests” table like this:
You can have a formula field “created this month” with formula:
IF(MONTH(TODAY()) = MONTH({Created Date}), 1, 0)
This flags the current month bookings with 1 (and zero otherwise). Back on your mentors table:
you can have a “count this month” field which is a conditional count:
This count field allows you to create a view where the “count this month” is less than 2. Then your booking form uses this view to allow requestors to pick from the list of available mentors rather than all mentors.
Mar 05, 2021 02:45 AM
Thank you Jonathan. Last question – what if I wanted to take this a step further and have the condition be:
Mar 05, 2021 02:48 AM
Ah I think I figured it out! Thanks!