Scroll To Top widget: Not working on form when embedded as an iFrame

  • bdoodle
    Asked on April 6, 2015 at 11:23 PM
    Yes. I'd like a way to allow user to move to top of form.  To solve other issues with the form (including inappropriate scrolling to coupon field), you had me change to iFrame embed which causes intra-form Links to no longer work in at least Chrome, IE, and Firefox.  I tried to use Scroll to Top widget instead of Link, but I can't get it to work.
  • Charlie
    Replied on April 7, 2015 at 12:22 AM

    Hi,

    Unfortunately, using the widget won't work because we're embedding the form iFrame. Although, because it is a widget, it should still work because it is added in the form.

    I'll escalate this to our widget team so that they can further check.

    We'll update you on this thread. Regarding other alternatives, using the form's full source code would work, because you will have a better view of the back end code and you can add your own functions like scroll to top, but you'll probably encounter a couple of errors and code conflict but that should be fixable within the source code.

    Kind regards.

  • TitusN
    Replied on June 18, 2015 at 5:20 AM

    Hello, 

    This has now been implemented - the widget now works on iframe embedded forms. 

    https://shots.jotform.com/titus/testsites/iframetestscroll.html

    Please give it a spin and let us know. 

    Thanks!!