Shouldn't that be written as

<input type='checkbox' disabled='disabled' checked='true'  name='list[]'
value='2'  />

instead.

On Wed, Mar 24, 2010 at 9:21 AM, DrunkenMonk <[email protected]> wrote:

> This is the output I want:
>
> <input type='checkbox' DISABLED  checked='true'  name='list[]'
> value='2'  />
>
> A checkbox which displays, but cannot be toggled.
>
> I achieved it by the following code in the correct place in
> markups.php:
>
> if( in_array('disabled', $args) ) $attr .= "DISABLED ";
>
> which I believe may have some unwelcome side-effects, but I don't
> care. It works for me :/
> course, now I have a totally hacked core. again. bleh.
>
> On Mar 24, 2:59 pm, The Editor <[email protected]> wrote:
> > Can you explain what you mean by "disable"?
> >
> > If we are missing some important form functionality, I'm happy to add it.
> >
> > Cheers,
> > Dan
> >
> > On Wed, Mar 24, 2010 at 9:44 AM, DrunkenMonk <[email protected]> wrote:
> > > On Mar 24, 2:40 pm, DrunkenMonk <[email protected]> wrote:
> > >> There doesnt seem to be a way to disable checkboxes in boltwire. I
> > >> tried the following:
>
> --
> You received this message because you are subscribed to the Google Groups
> "BoltWire" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<boltwire%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/boltwire?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to