I am not sure this is a good idea. It is not necessary for the purpose
of customization
 Moreover you can do it with jQuery

jQuery('#table_password').addCladd('custom_1');

On Nov 27, 6:55 pm, waTR <r...@devshell.org> wrote:
> I am wondering if anyone is working on adding a capability to set a
> class for a single element in an SQLForm.custom.widget out of however
> many are passed to it from a db.table. I.e.
>
> You have a table named USER with Name, Email, Password.
> Set Name <input> to class = "password OR string OR whatever is
> default   +    custom_1 custom_2 custom_n". In addition, would be nice
> to have access to size="" of <input> as well.
>
> If no one is working on anything like this, I am interested in taking
> a stab into this darkness...
>
> Let me know if no one is working on this and I will put forward my
> proposed design modification (in english, not code). If there is no
> cries of outrage I will get it coded. Otherwise, I guess I might just
> do it for my local copy only. I really need this facility to speed up
> my forms creation--my app has a hundred or so, and all the CSS has
> been done by an outside designer. I really don't want to modify his
> design or CSS links. I just want to be able to plug the Input fields
> and have the form start working.

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to