Could you please be more specific? I am sorry to say I don' understand
your response.
Julius

V Sobota, 18. september 2010 o 07:34 -0700, mdipierro napĂ­sal(a):
> yes, the third columns is form Field(...comment='')
> 
> On Sep 18, 5:47 am, Julius Minka <j...@minka.sk> wrote:
> > def horizontal_radios(f,v):
> >         table = SQLFORM.widgets.radio.widget(f,v)
> >         rows=table.elements('tr')
> >         table.components = []
> >         table.append([row.elements('td') for row in rows])
> >         return table
> >
> > def form():
> >     form=SQLFORM.factory(
> >        Field('clientagent', requires=IS_IN_SET(['client', 'agent']),
> > default='client', widget=horizontal_radios,label='Client/Agent'),
> > ...
> >
> > ... <tr class="even" id="no_table_clientagent__row1"><td
> > class="w2p_fl"><label for="no_table_clientagent"
> > id="no_table_clientagent__label">Client/Agent: </label></td><td
> > class="w2p_fc"></td></tr><tr class="odd"
> > id="no_table_clientagent__row2"><td class="w2p_fw" colspan="2"><table
> > class="string" id="no_table_clientagent" name="clientagent">
> > <tr><td><td><input checked="checked" name="clientagent" type="radio"
> > value="client" />client</td></td>
> > <td><td><input name="clientagent" type="radio" value="agent" />agent<
> > /td></td></tr></table></td></tr>...
> >
> > <td><td> and </td></td> seems to be too many there. Does it come from
> > the function above or web2py itself? How to correct this?
> >
> > Julius


Reply via email to