PC Review


Reply
Thread Tools Rate Thread

Check Boxes - Read only

 
 
John Prescott
Guest
Posts: n/a
 
      5th Jul 2005
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 Removed) website <http://www.oursite.co.uk>

 
Reply With Quote
 
 
 
 
MD Websunlimited
Guest
Posts: n/a
 
      5th Jul 2005
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/d...e/download.asp

"John Prescott" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> 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 Removed) website <http://www.oursite.co.uk>
>



 
Reply With Quote
 
Bob Lehmann
Guest
Posts: n/a
 
      5th Jul 2005
<input type="checkbox" name="blah" disabled="disabled">

Bob Lehmann

"John Prescott" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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 Removed) website <http://www.oursite.co.uk>
>



 
Reply With Quote
 
MD Websunlimited
Guest
Posts: n/a
 
      6th Jul 2005
disabled="disabled" is not correct. It would be either true or false and the setting of the value is optional as an attribute.


--
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/d...e/download.asp

"Bob Lehmann" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> <input type="checkbox" name="blah" disabled="disabled">
>
> Bob Lehmann
>
> "John Prescott" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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 Removed) website <http://www.oursite.co.uk>
>>

>
>



 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      6th Jul 2005
Add readonly="readonly" inside the tag?

I know this works for text boxes anyway

--
Cheers,
Trevor L., WIP (Web Interested Person)
Website: http://tandcl.homemail.com.au

John Prescott wrote:
> 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 Removed) website <http://www.oursite.co.uk>



 
Reply With Quote
 
Bob Lehmann
Guest
Posts: n/a
 
      6th Jul 2005
"MD Websunlimited" <(E-Mail Removed)> wrote in message
> disabled="disabled" is not correct.


Yes it is. Please look before you leap. Some people are moving forward.
http://xstandard.com/page.asp?p=6158...3-D9DD02CA9417

Bob Lehmann


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restore check boxes changed by gremlin to text boxes? Rumple41 Microsoft Access 8 22nd Dec 2008 06:31 AM
Show check boxes which arn't blank, hide check boxes which are bla Accessorise Microsoft Access Forms 1 12th Jun 2008 08:29 AM
Make check boxes look like radio check boxes? AAaron123 Microsoft VB .NET 2 24th Apr 2008 02:24 AM
Concat unbound text boxes for true check boxes EmAlbritton via AccessMonster.com Microsoft Access Reports 10 1st Nov 2006 04:49 PM
Re: Hiding rows containing drop-down list boxes and check boxes Dan E Microsoft Excel Misc 0 11th Jul 2003 07:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:46 PM.