Check Boxes - Read only

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>
 
M

MD Websunlimited

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
 
T

Trevor L.

Add readonly="readonly" inside the tag?

I know this works for text boxes anyway
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top