Works perfectly in Elfsight, but when embedded, shows a throbber, then resets the form and does not redirect to anything.
Bugged page: Eyedrum - Login
Target Page: Eyedrum - Home
Works perfectly in Elfsight, but when embedded, shows a throbber, then resets the form and does not redirect to anything.
Bugged page: Eyedrum - Login
Target Page: Eyedrum - Home
Hi there, @Jack_Brogan and welcome to the Community ![]()
The Redirect to URL option doesn’t work correctly because of the Google Sites iframes. To fix the issue, please add the script below to the Custom JS field on the Settings tab of your widget’s settings:
widget.on("submit", () => {
window.open("https://your-link.com", "_blank");
});
Do not forget to replace your-link.com in the 2nd line of the code with your redirect URL. Keep in mind, that with this workaround, the redirect link will be opened in a new tab.
Please try it out and let me know if it worked ![]()