Massimo,

Indeed it was easier to use form.element(...), thanks for providing me
with this solution.

Annet.

On Jun 7, 8:13 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> form[0] #table
> form[0][21] # 22nd row
> form[0][21][1] #  second column of above row
> form[0][21][1].insert(0,H4('Text'))
>
> but it should be easier to do
>
> form.element('input[name=xxx]').parent.insert(0,H4('Text'))
>
> where 'xxx' is the name of the field variable.
>
> On Jun 7, 4:24 am, annet <annet.verm...@gmail.com> wrote:
>
> > I am using this:
>
> > form[0].insert(21,TR(H4('Text')))
>
> > to insert headers between rows. The header is being inserted in the
> > first column of the form. I would like to insert an explanatory text
> > into the second column of a particular row, is that possible using
> > this syntax, if so, what is the correct syntax.
>
> > Kind regards,
>
> > Annet.

Reply via email to