How can you hide or show block depending on a variable field?

Question

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.

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?
0
metichi 4 months 2020-12-19T06:10:21-05:00 0 Answers 8 views 0

Leave an answer

Browse
Browse