Hello Community, I am creating that involves two time fields lets say time_out and time_in,
I want to configure a contraint such that everyday if someone book a time that fall within time_out and time_in, no can also submit a for with a time_out that is within the time_out and time_in. The survey will work like a logform
Take a look at the pulldata(@layer) function. I think you might find your solution there.
Just be aware that if you have a field in survey123 that is time only, it may still be created as a datetime field. It could cause a problem if the date the form is being filled out on is different than a date included with the time_in/time_out fields.