Wrong user data in form - disable local browser storage

  • HelpfulHolidays
    Asked on February 15, 2016 at 7:04 AM

    Hello,

    I have a jot form its embedded into a webpage.

    Lots of the form answers are pre filled using $_GET vars $_GET['firstname'], $_GET['email'] etc..

    The form is behind a password protected area and requires a login.

     

    If i login as user A I see user A's details i.e userA@test.com for the email.

    If i logout and then log in as user B I still see user A's details i.e userA@test.com and not userB@test.com.

     

    If I look at my local storage I assume this data is coming form the jStorage var?

    How do i fix this, maybe i need to add something to my form?

     

    What is setting the values of jStorage?

     

    Thanks.

    Jotform Thread 772342 Screenshot
  • Elton Support Team Lead
    Replied on February 15, 2016 at 8:21 AM

    It is stored on browser's local storage because autofill (autosave) feature is enabled in your form. That's also the reason why it is using the jStorage script. Disabling it will resolve the problem.

    Just follow this guide and set it as disabled.

    https://www.jotform.com/help/227-How-to-Enable-Auto-Fill-Feature-Save-Form-Entries-to-Continue-Later

    Visual guide:

    Wrong user data in form   disable local browser storage Image 1 Screenshot 20