I have a page which lists visitors for an event. In case the user doesnt see the RSVP for their, I want to present a link which sends the user to the Add/New form for the visitors table... and I want to do it as a popup/dialogue.
What I have at the moment is a CEWP with the following (copied from Designer):
The page this code is on uses a URL parameter ("ID") to know which event the user wants to view visitors for. How can I use this URL parameter and pass it into the hyperlink? Right now the placeholder in the URL is @EventID.
It is important to get this variable working to ensure the visitor gets added to the correct event (the new visitor page uses this parameter to set the event ID).