Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John C Scott 473 posts 1183 karma points
    Mar 24, 2015 @ 09:02
    John C Scott
    0

    saving field values in browser

    I'm seeing a behavior in Umbraco Forms where if you fill in a form an submit it then return to that page in the same browser you see the values stored in the fields that were previously entered.

    I'm presuming that this occurs because of some kind of storage in a cookie especially for use with server side validation or multi-step forms.

    This is a problem for using the forms with confidential personal data on shared computers such as we are doing.

    Is there any way to stop this ocurring?

     

  • Alex Skrypnyk 6175 posts 24176 karma points MVP 8x admin c-trib
    Mar 24, 2015 @ 09:42
    Alex Skrypnyk
    0

    Hi John,

    First try to explicitly setting the values as blank. For example:

    <input type="text" name="textfield" value="">
    

    That should stop browsers putting data in where it shouldn't. Alternatively, you can add the autocomplete attribute to the form tag:

    <form autocomplete="off" ...></form>
    

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft