Previous Entries Appear for Text Fields

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Previous Entries Appear for Text Fields

    On my forms, all previous entries typed into a CFINPUT (type="text") field are
    being remembered and displayed each time a user clicks into the field to begin
    typing. The list grows very long and becomes an annoyance after a while. The
    individual entries can be deleted one at a time but that is time consuming to
    do for each field.

    Is there a way to turn off the capability of the Browser or Cold Fusion to
    remember all previous entries for a text field?

    Thanks,
    Don

    DRDuquette Guest

  2. Similar Questions and Discussions

    1. editing previous text
      I've selected the text layer, and when I click the T in toolbar and then try to highlight text I get a new text dialogue box instead of being able to...
    2. Text edit functions not working for text entry fields onMAC
      In all the text-entry fields - one cannot cut, copy, paste, nor perform other normal text edit functions on MAC using Firefox. Any idea about the...
    3. Populate form values based on previous same form fields
      This message is cross posted in alt.comp.lang.php & comp.lang.javascript I have a form for a user to input an establishment's hours and what time...
    4. inserting a new comment wipes out previous text on web page
      Hi lawrence! On 7 Jul 2003 12:39:07 -0700, lkrubner@geocities.com (lawrence) wrote: Can you narrow down the code a bit? Put var-dumps of the Sql...
    5. Repeat same data from previous fields?
      I have a form that reports varieties of fruit per type of container the fruit is packed. I have 12 seperate rows of data to be entered. Example:...
  3. #2

    Default Re: Previous Entries Appear for Text Fields

    This is a function of the browser and has nothing to do with ColdFusion. In IE, I believe this will work:

    Go to Tools, Internet Options, Advanced, Browsing, uncheck "Use inline AutoComplete"
    TA-Selene Guest

  4. #3

    Default Re: Previous Entries Appear for Text Fields

    If you have trouble forcing all your users to change their browser preferences
    :P, you can add the following attribute to your <cfinput> or <input> tags:
    <input ... autocomplete="off" />

    This attribute stops the history on most browsers that display it -- BUT it
    also makes forms less usable when the user clicks the "back" button (because
    his entries are erased).

    If the form is posting to itself (same page), you can also add the
    preserveData = "no" attribute to your <cfform> tag.

    Finally, consider giving your users "Clear" and/or "Reset" button(s).

    Regards,
    -- MikeR

    MikerRoo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139