[thelist] Protecting a Form Input

Chris Hayes chris at lwcdial.net
Fri Apr 1 11:44:41 CST 2005


You can never be too sure your user agent is going to behave the way it's meant to .

For HTML 4.0 there's:
        <input type="text" readonly>

What I do is use a hidden element as the real one and just display another element or <div> with the content not to be changed.


  ----- Original Message ----- 
  From: Sam Carter 
  To: thelist at lists.evolt.org 
  Sent: Friday, April 01, 2005 5:50 PM
  Subject: [thelist] Protecting a Form Input 


  Is there an HTML attribute CSS style or other --  which can write 
  protect a form input element so it can't be overwritten with user input?

  Sam


  -- 

  * * Please support the community that supports you.  * *
  http://evolt.org/help_support_evolt/

  For unsubscribe and other options, including the Tip Harvester 
  and archives of thelist go to: http://lists.evolt.org 
  Workers of the Web, evolt !


More information about the thelist mailing list