Check Boxes - Read only

  • Thread starter Thread starter John Prescott
  • Start date Start date
J

John Prescott

How do I make a check box read only.
Regards, John Prescott

Paymaster Systems Ltd,
Moorlands House, Oldfield Road, Bromley, Kent. BR1 2LE
TEL: 020 8467 6107 FAX: 020 8467 6121
e-mail: (e-mail address removed) website <http://www.oursite.co.uk>
 
If you're using just late generation browsers then you can use the disabled attribute on the <input> tag.
<input type="checkbox" checked disabled >

If you be having visitors that will be using older browsers, I would redirect (encourge them) to download a later version, then use
a little JS to re-focus the control.

<input type="checkbox" checked disabled onfocus="this.form.nextfield.focus()" >

HTH,

--
Mike -- FrontPage MVP '97-'02
J-Bots 2004 102 Components For FP
http://www.websunlimited.com
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible
Download the Trial http://www.microsoft.com/frontpage/downloads/addin/launchupdate/download.asp
 
Back
Top