I’d like to put riddles on my site, and have a text box where visitors can type in guesses. Instead of using a traditional form and redirecting to a result page, I’d prefer simply to reveal a div element when the text in the box matches the answer. Does anyone have any suggestions on how to accomplish this? I don’t think the Conditional Visibility settings have the capability of looking at user input, so I imagine this might require some custom code.
I am not particularly concerned with keeping the answer “secure”, it’s not problematic for my project if someone wants to investigate source code to find it instead of figuring it out the normal way.