fabianmoreno01
Member-
Posts
7 -
Joined
-
Last visited
fabianmoreno01's Achievements
Level 1 (1/20)
0
Reputation
-
Survey Redirect-upon-Completion isn't working
fabianmoreno01 replied to fabianmoreno01's topic in Customize with code
@paul2009 and @humxahafeex, actually there was a way to fix it and redirect from within the iFrame. The following piece of code was provided by the forms website (I replaced the form ID with --- in the code here). It doesn't seem to always work, but it sometimes does. I'm not sure yet why it's still inconsistent. <div formsappId="---"></div> <script src="https://my.forms.app/static/iframe.js" type="text/javascript"></script> <script> new formsapp('---', { width: '100%', height: 'formHeight' }); </script> -
Survey Redirect-upon-Completion isn't working
fabianmoreno01 replied to fabianmoreno01's topic in Customize with code
Would I have the same problem with forms from other websites (i.e. Typeform)? -
Survey Redirect-upon-Completion isn't working
fabianmoreno01 replied to fabianmoreno01's topic in Customize with code
Hey Paul, thanks for your answer! Is there any way to solve this while keeping the form on my site? I'd like to keep it at this address and leave the disclaimer at the bottom of the page... Maybe one of these could be of use? - https://stackoverflow.com/questions/580669/redirect-parent-window-from-an-iframe-action - https://htmldom.dev/communication-between-an-iframe-and-its-parent-window/ - https://stackfame.com/access-parent-of-iframe-javascript - https://help.alchemer.com/help/break-out-of-iframe - https://stackoverflow.com/questions/11332247/redirect-from-iframe-using-javascript-or-jquery?noredirect=1&lq=1 - https://stackoverflow.com/questions/1378433/how-do-i-implement-cross-domain-url-access-from-an-iframe-using-javascript/1378456#1378456 (Note: I have no access to the code of the form itself, I can only tweak it in the code block on Squarespace.) -
Survey Redirect-upon-Completion isn't working
fabianmoreno01 replied to fabianmoreno01's topic in Customize with code
Any idea @humxahafeex or anyone?... -
Survey Redirect-upon-Completion isn't working
fabianmoreno01 replied to fabianmoreno01's topic in Customize with code
Hello @humxahafeex, thanks for tweaking the code yet it's still not working... 😕 -
Survey Redirect-upon-Completion isn't working
fabianmoreno01 replied to fabianmoreno01's topic in Customize with code
Thanks @humxahafeex , I changed the code but it's still not working... (Also, I don't know if this plays a role, but I do have a piece of code in the page itself to prevent the header and footer from appearing.) -
Hello! I have created a Code Block on a page of my website so I can insert a survey (from the website forms.app). The code provided by the forms website is: <iframe id="" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://my.forms.app/form/61a320417d2e520c5456fd3b" frameborder="0" style="width: 1px; min-width:100%; height:500px; border:none;"></iframe> At the end of it, users should be redirected to a Thank You page (also on my site) but it doesn't work, even though the form does say the user will be redirected. The page doesn't change and the survey goes back to its 1st page. I imagine it's because the Redirect-upon-Completion is in the form's settings (i.e. in a block inside the page) rather than in the page settings itself? Or maybe it's something else entirely. Any help appreciated! (Note: I'm a smart guy but also a complete beginner at coding so I can only make use of detailed instructions when coding is involved.) Thanks!