How can you hide or show block depending on a variable field?
I have a question I don’t know where to begin to search for.
I’m trying to add a page to my website to accept art commissions. And at the top of the page, I want to add a block that shows the amount of slots available.
There is also a contact form people can fill in with the commission details they look for. And when the number of slots is 0, I would need this form to be replaced with a message saying so.
- Is there a way to easily change the value of the slots without needing to go to the edit page section?
- Is there any way to hide and show blocks depending on these values without having to manually delete and add them?