Form Width and Inject CSS

  • Profile Image
    officezen
    Asked on May 23, 2012 at 12:32 PM

    I have adjusted the form width (550px) in the Prefences yesterday, but the width on the form (http://form.jotform.ca/form/21397473346258) is still 650px.

    How long does it usuallly take for the form style to get updated?

    I also removed some custom css styles I entered under Inject CSS, but it's still showing up in the form style.

    PS: The form width appears to be correct in the editor mode, but not in the given link.

  • Profile Image
    fxr
    Answered on May 23, 2012 at 05:54 PM

    It looks to have a width of 550px here. 

    Are you able to clear your browsers temporary internet files to see if that helps?

     

    You could also try viewing the form on this URL : http://www.jotform.ca/form/21397473346258 

  • Profile Image
    officezen
    Answered on May 23, 2012 at 06:20 PM

    It is now showing the correct width. I cleared the browser cache several times yesterday, but did not show the correct width (same effect in FF, Chrome and Safari), so I suspected there was some sort of lag before the changes I made got reflected on the form.

  • Profile Image
    abajan
    Answered on May 23, 2012 at 06:52 PM

    @officezen

    It is a caching issue - just not on your computer. So, clearing your browser's cache would not have helped in this instance.

    Allow me to explain. Forms at the http://form... addresses are distributed via a content delivery network (CDN) and the node (edge location) via which you are being served is apparently taking very long to update its content with the changes made in the form builder.

    Coversely, forms at the http://www... addresses are distributed in the traditional fashion and don't normally have this issue.

    There are advantages and disadvantages associated with each method but on balance, the CDN route is probably better. Please see the following text and video links for details:

    What is a CDN? What does it do?
    Best Practices for Speeding Up Your Web Site

    Hopefully, you have found this post helpful.