defrederick
Forum Replies Created
-
Thanks Zhanna, after some offline help, here is the code that finally worked.
Cheers,
Dan// Occurs after form is submitted and reloaded
function after_submit() {
var url = ‘www.google.com’;
var delay = 1000;
function openPage() {
window.open(
‘https:/’ + ‘/’ + url,
‘_blank’
)
}
setTimeout(openPage, delay);
}That works now, thanks! Now if we could get that flag working in the filter and included in the export, it would be perfect.
Cheers,
DanThanks @zhannak. I don’t know if there’s something wrong with my installation, but I can’t get the code to execute. I assume the initial ”’ in your document is not necessary. Is the delay variable used anywhere? In any case, no matter what I try, nothing seems to be executed from that javascript section on the form.
I don’t even know where to start. It seems like I’ve killed so much time already on such a seemingly simple task.
Dan
That’s correct. If it’s possible to put a “Thank you for your download” message in the original TAB as a “message” and have it redirect to the new URL, that would be ideal. Otherwise, just launching the new tab is what I’m looking for.
Thanks,
Dan