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 <[email protected]> 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