Clear an input field when user clicks in it

Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Clear an input field when user clicks in it

    Im trying to clear a value of a cfinput when the user clicks in it. i used to
    do this on html.
    <input name="" onClick="(this.value=' ')"> can anybody tell me how can i do
    this with the new CF7 and flash forms.

    dbenitez Guest

  2. Similar Questions and Discussions

    1. My flex app is blank until the user right clicks andpresses "play"
      I am using the html template that flex builder creates to do flash detection. It works great on every platform I've tested it on. Any ideas why it...
    2. cfcalendar date input into an input field
      Like a JS datepicker, how do i use cfcalendar to input a date into an input field? Something like this:...
    3. problem with reset/clear in <input type="file" >
      how to clear values in input file object. In My Form i need to upload a file and enter some values in other text fields. i have "Submit" and...
    4. CLEAR INPUT TEXT problem
      hi, first i'll excuse for my english the problem is that i want to create a form when the user click on a inputtext is clear its content and let...
    5. Clear a Field in MS Access with ASP
      Couple of points: a) Even if you set "Not Required", that just means you can enter a NULL value. It doesn't mean you can enter a Zero Length...
  3. #2

    Default Re: Clear an input field when user clicks in it

    This is what I am using to clear my fields.


    <cfinput type = "reset" name="reset" width="100" value = "Reset Fields">



    lgschulz 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