Apologies in advance for the very simple nature of my question but I have searched everywhere and can’t find an answer…
I have a static page containing repeaters connected to databases. When users click the links in those repeaters they are taken to dynamic pages. In a couple of cases cases I’d like to intercept the loading of those dynamic pages and take users to bespoke static pages. How would I go about doing this?
This so nearly works…
But I am getting an ‘unexpected token’ error, see screenshot. Have fiddled around to no avail… can you help again? Many many thanks.
Just to be clear, this will only work if the user uses the link in the repeater. If the user enters the page from outside the repeater link it would not trigger. Where using an an actual hook/router would. Just depends on the use case.