RE: Graying out a field on a form

by "tim booker" <timbooker(at)btinternet.com>

 Date:  Thu, 3 Aug 2000 20:17:50 +0100
 To:  "'Peter Benoit'" <pbenoit(at)triton-network.com>,
<ideas(at)creativegenius.ca>,
<hwg-techniques(at)hwg.org>
 In-Reply-To:  network
  todo: View Thread, Original
<input type="text" name="whatever" onFocus="blur();">



> -----Original Message-----
> From: owner-hwg-techniques(at)hwg.org
> [mailto:owner-hwg-techniques(at)hwg.org]On Behalf Of Peter Benoit
> Sent: 03 August 2000 17:59
> To: 'ideas(at)creativegenius.ca'; hwg-techniques(at)hwg.org
> Subject: RE: Graying out a field on a form
> 
> 
> <input type="text" READONLY> should do the trick, though I'm 
> pretty sure
> that only IE supports this attribute.
> 
> *  -----Original Message-----
> *  From: ideas(at)creativegenius.ca [mailto:ideas(at)creativegenius.ca]
> *  Sent: Thursday, August 03, 2000 11:27 AM
> *  To: hwg-techniques(at)hwg.org
> *  Subject: Graying out a field on a form
> *  
> *  
> *  Greetings List:
> *  
> *  I am currently designing a form, in one of the form's fields 
> *  I wish to show 
> *  the price of the article being offered, to this end I have 
> *  elected to use a 
> *  "text box" for this purpose and populate it using a variable that
> *  is reflective of the cost of the item being offered.
> *  
> *  However, I don't want the price to be an editable field 
> for obvious 
> *  reasons, as such is there a way to have this information 
> *  displayed such 
> *  that the box in which the price is displayed is somehow 
> "grayed" out 
> *  rendering it uneditable.
> *  
> *  Thanks to all who reply.
> *  
> *  
> *  
> *  
> *  
> *  Simon Rolfe
> *  Creative Genius Communications
> *  www.creativegenius.ca
> *  (613) 566-5506
> *  
> *  
> 
> 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA