You simply redefine them in your config.php file or any plugin. Note the comma
$BOLTattrs['button'] = 'name,value,class,id,style,disabled,readonly'; or $BOLTattrs['button'] = $BOLTattrs['button'] . ',readonly'; I suppose you could even write a little script to go through all the elements and add it in. Cheers, Dan On Fri, Jan 14, 2011 at 7:22 PM, DrunkenMonk <[email protected]> wrote: > Is there a recommend way to add an attribute to form inputs? > Preferably, one that doesn't break on every update? > > If not, could 'readonly' be added to just about everything that has > "disabled"? > > -- > 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. > > -- 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.
