Dynamic Button on Wix Event Details Page

I am using the built-in Wix Events app. Some of my events require a lengthy application and some can just use the registration form included with Wix. I would like a button to show taking users to the page containing the lengthy application only for those events that require it. For other events, I want to hide the button. To hide it, I need to get the current event showing on the page, but everything is locked down. How can I write code to get the event title showing on the page from the Events collection and then show or hide the button based on the title?