I’ve managed to get the redirect working using wixLocation however this seems to block the download that I’ve already set on the button. I’m guessing that the OnClick event is cancelling out my button settings?
Use → setTimeout(()=>{},500) to wait for a while before firing up the next event/function.
Perhaps this will solve your problem.
Thanks @russian-dima but that hasn’t worked unfortunately. Do you know of a code that would allow for downloading a pdf? So that I could code it to download and redirect without having to use any button settings within the editor?
@mike
I do not see your code & what you have tried already.