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

    Placing page of "Thank You" in the center ?

    Asked by slleykersxx on April 20, 2016 at 03:46 PM

    I have iframe on my website, and I'm looking to put a page of " thanks" in the center ..every monitor it is in a different position vertically.

    image below to show.

     

    I await a position .

     

    It follows also the address of the site . 

     

    stipesquisa.esy.es

     

    form alignment thank you page
  • Profile Image

    Answered by Ben on April 20, 2016 at 04:08 PM

    I am looking at your page: stipesquisa.esy.es

    Now the issue here is that the body element does not hold the entire height of the page, only the html element does, but even if so it would not be possible to make the thank you page look centered on all sizes and in the same time make sure that the scrollbar is not shown.

    The only way to do something like that would be to create some code that checks for this and make sure that it works for different screen sizes the same way which would take some time to buld and test.

    As such we would not be able to assist you with the same.

  • Profile Image

    Answered by slleykersxx on April 20, 2016 at 04:20 PM

    I have iframe on my website, and I'm looking to put a page of " thanks" in the center ..every monitor it is in a different position vertically.

    image below to show.

     

    I await a position .

     

    It follows also the address of the site . 

     

    stipesquisa.esy.es

     

  • Profile Image

    Answered by Ben on April 20, 2016 at 06:09 PM

    Please do try to apply the code from this link: https://pastebin.com/uVTuNqk7

    I made a slight modification to it, that should be able to capture the screen height and set the thank you page at the middle of the same, but please do test it out once you have added it to your website.

    To add it simply remove the current <script ... and the code until </script> (including that as well) and replace it with the similar code from the link above.

    I have pasted it to PasteBin since it seems that when you have copied the code from the thread last time, it gave you some HTML entities, which corrupted the code (it worked, but not completely). Copying it from there will allow you to do so without any issues.

    Do let us know how it goes and please do test it out on the screen resolutions you are after.

  • Profile Image

    Answered by slleykersxx on April 20, 2016 at 07:27 PM

    I have no words to thank .

     

    I thank to you and your team immensely.

    Thank you even for your patience and your willpower

     

    Thanks .. Everything went as I wanted .. If you want to take a look. 

    stipesquisa.esy.es

     

    Thank you .

  • Profile Image
    JotForm Support

    Answered by Mike_G on April 20, 2016 at 10:33 PM

    On behalf of my colleague, Bane, you are most welcome. Please feel free to contact us anytime you have questions or concern. Thank you.