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

    Forcing caching according to browser

    Asked by Osune on August 27, 2013 at 11:52 AM

    Hi,

    I am having an issue that has been brought up by other members on this forum before. The form does not cache in certain browsers and this is because I have deployed the site on Wix. I think that this is a Wix problem but I wanted to check if you had any advice on how to fix this. I found a redirect.php suggested to another person and that worked very well for me. Thank you very much for that.

    However, a follow up question I have is that this issue only seems to be happening in Chrome but works correctly in other browsers. So is there a way that the php code can contain logic that uses the cached copy if the browser is not Chrome, and does a full refresh if the browser is = Chrome?

     Any help that you can provide on this matter will be greatly appreciated.

     

    Link to a previous discussion on same topic: http://www.jotform.com/answers/214233-My-form-goes-blank-after-submissions-on-my-Wix-Website?entrymessage=10732640770

    caching Submissions JotForm problem cache
  • Profile Image
    JotForm Support

    Answered by Welvin on August 27, 2013 at 04:08 PM

    Hi Osune,

    Good day! There should be another method to do this using Javascript. I will try to come up for the solution and get back to your later today.

    Thanks

  • Profile Image
    JotForm Support

    Answered by EltonCris on September 07, 2013 at 01:32 AM

    @Osune

    Try if this helps: http://pastiebin.com/522ab9b0781b1. Just do the same steps as before, save this as php file and set this as your Custom Thank you URL.

    I haven't tested this yet but I think this should work, so feel free to post here your updates. Thanks!