It is possible to iterate trough any input element within the form
object with this command
for f in form.elements("input"):...
Sequences of objects can be retrieved with the css like syntax:
element sub-element
element.class
element[type=submit]
Where form is a SQLFORM instance
And class input attribute can be set inside the loop with this:
f["_class"] = <custom class name string>
On 28 dic, 17:52, Kenny Meyer <[email protected]> wrote:
> http://stackoverflow.com/questions/8661166/custom-css-classes-for-sql...