Once you have the object returned by SQLFORM(..), it can be explored with the method elements() wich returns a list of objects contained in the form. So you could iterate trough the list, and if the element is of type gluon.html.TEXTAREA, customize it with something like this:
sub-element.attributes["_id"] = <number> or sub_element.update(_id=<number>) Note the use of a _ character before the attribute name, used to set tag attributes Not sure if this is the simpler approach but should work On 17 dic, 17:36, Pepe Araya <[email protected]> wrote: > Hello! > > is possible to set the id of a textarea of a SQLFORM? > > I have 2 forms on the same page but the textarea of both have the same > id... > > thanks

