Desensitize TextFields and Labels

Discussion in 'HTML & Website Design' started by lost, Oct 18, 2005.

  1. #1
    Anyone know how to desensitize textfields and labels??

    Thanks.
     
    lost, Oct 18, 2005 IP
  2. dct

    dct Finder of cool gadgets

    Messages:
    3,132
    Likes Received:
    328
    Best Answers:
    0
    Trophy Points:
    230
    #2
    What do you mean by "desensitize"?
     
    dct, Oct 18, 2005 IP
  3. lost

    lost Peon

    Messages:
    144
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Make them unavailable/sensitive to input.
     
    lost, Oct 18, 2005 IP
  4. dct

    dct Finder of cool gadgets

    Messages:
    3,132
    Likes Received:
    328
    Best Answers:
    0
    Trophy Points:
    230
    #4
    You could change the color of a label to make it look unavailable (gray maybe) and set the readonly flag of a text box
    
    <input name="" type="text" readonly="true">
    
    Code (html4strict):
     
    dct, Oct 18, 2005 IP
  5. sarahk

    sarahk iTamer Staff

    Messages:
    28,807
    Likes Received:
    4,534
    Best Answers:
    123
    Trophy Points:
    665
    #5
    sarahk, Oct 19, 2005 IP
  6. dct

    dct Finder of cool gadgets

    Messages:
    3,132
    Likes Received:
    328
    Best Answers:
    0
    Trophy Points:
    230
    #6
    You might want to start your own thread for that :confused:
     
    dct, Oct 19, 2005 IP
  7. sarahk

    sarahk iTamer Staff

    Messages:
    28,807
    Likes Received:
    4,534
    Best Answers:
    123
    Trophy Points:
    665
    #7
    This is how you become very unpopular in a short space of time.

    There are a large number of forums here, try link exchange and don't hijack other people's threads.
     
    sarahk, Oct 19, 2005 IP
    dct likes this.
  8. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Next time there's a post like that, (as was recently suggested to me) click the little exclaimation mark icon on the upper right-hand corner of the post to flag it so the moderators can move the post.

    BTW, this thread shouldn't be in the PHP forum?!
     
    exam, Oct 19, 2005 IP
  9. torunforever

    torunforever Peon

    Messages:
    414
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #9
    lost is asking how to disable textboxes, which seems fitting in the HTML & Website Design forum.

    Though I have to admit that when I read the topic, I thought the use of "desensitize" was going to be about sanitizing form submit data for special characters. In that case, this thread would've been best in the PHP forum. So maybe we thinking the same thing.
     
    torunforever, Oct 19, 2005 IP
  10. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #10
    This thread was in the PHP forum and I was saying it shouldn't be there. A moderator moved it here. :)
     
    exam, Oct 21, 2005 IP