I need to redirect the parent window based on a custom html form submission from within Retool. Retool is hosted in an iframe on my webpage.
Trying to use
window.top.location.href = "http://example.com"; causes the following error:
Failed to set the 'href' property on 'Location': The current window does not have permission to navigate the target frame to 'http://example.com'.".
This is a pretty critical use case here and would love some ideas.