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 457 posts 1157 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 5908 posts 22603 karma points MVP 4x 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies