[Grok-dev] tabindex on fields
kathy at perfectnotes.com.au
Thu Dec 10 18:49:19 EST 2009
On 10 Dec 2009, Jan-Wijbrand Kolman wrote:
> Hi Kathy
> Kathy Manwaring wrote:
>> I would like to use tabindex on fields on my forms, generated from
>> grok.EditForm using a ZPT template.
>> I have tried self.widgets['fieldName'].tabindex = 670 in setUpWidgets,
>> this is not passed through to the source of the page.
>> Can anyone suggest a way to do this?
> Are you rendering the widgets in a custom pagetemplate (i.e. not the
> default Grok template used for forms)?
Yes - I need to control the layout, so have created a custom pagetemplate
- it needs to have 2 columns and some of it needs to go down the columns
and then across to the equivalent section in the second column.
More information about the Grok-dev