Is it possible to hide/show a hyperlink based on the value of a database field?
It's a bit like a forum structure, so if there is a better way then that would be good to know.
In my case...
A record has a status either "open" or "closed"
If the status is "open", then users can enter sub-records (responses) against it by clicking on a link to respond/reply.
If the status is "closed", then I either want to
a) make the respond link unavailable
b) when the link is clicked, give them a message and take them to the previous page.
Help would be appreciated.