What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Does the Fixed Position (Sticky) Option of the Progress Bar Widget Work When the iFrame Version of the Form Code Is Used?

    Asked by nkrei on July 15, 2015 at 04:30 PM

    Hello:

    Does iframe support/work with the sticky progress bar (sticking to the top of the page as you scroll down)? It seems like it does not, but I would like to verify this.

    Thank you.

    progress bar scroll top progress bar widget stick to top fixed position sticky option iframe version
  • Profile Image
    JotForm Support

    Answered by abajan on July 15, 2015 at 06:56 PM

    Thanks for asking. While the default code provided by the Embed Form Wizard does not allow the progress bar widget to be "sticky", the code can be edited to make the fixed position effect occur. Here's what to do:

    1. Remove the script portion from the iFrame code

    2. In the code which remains, do the following:
      • Reduce the value of the height attribute to about 500px
      • Change the value of the scrolling attribute from no to yes

    Take this form as an example. If you were to clone it and get its iFrame code, the code would look something like this. What you would do is remove the second line which is the script portion to which I referred in step 1. Then, in the code that remains you would change height:1686px to height:500px. Lastly, you would change scrolling="no" to scrolling="yes".

    If you need clarification on any of the above, please inform us.

    Thanks