Mogens is right, "readonly" makes sense on inputs that has text in them
(text, date, password, email, ...)
For booleans like radio or checkbox, it's disabled.

https://www.w3schools.com/tags/att_input_disabled.asp

Remi


Remi

On Mon, Jan 1, 2018 at 12:28 PM, Mogens Beltoft <mog...@beltoft.dk> wrote:

> Try disabled instead of readonly.
>
> /Mogens
>
>
> On 01-01-2018 12:08, Rune Back wrote:
>
> This doesn't seem to work:
>
>
> <input type="checkbox" name="checkbox" id="checkbox1" value="1" *readonly*
> >
>
> How should I do a R/O checkbox?
>
> --
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to iphonewebdev+unsubscr...@googlegroups.com.
> To post to this group, send email to iphonewebdev@googlegroups.com.
> Visit this group at https://groups.google.com/group/iphonewebdev.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to iphonewebdev+unsubscr...@googlegroups.com.
> To post to this group, send email to iphonewebdev@googlegroups.com.
> Visit this group at https://groups.google.com/group/iphonewebdev.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to iphonewebdev+unsubscr...@googlegroups.com.
To post to this group, send email to iphonewebdev@googlegroups.com.
Visit this group at https://groups.google.com/group/iphonewebdev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to