I tray to put mentioned examples into controller after my form definition
form['_action'] = URL(index')
form.update(_action=URL('index'))
form.attributes.update(_action=URL('index'))
but it is not happened anything, and if I change my value I just get error
form.update(_action=my_value) - this make error
In view after beginning of form.custom.start I tray next similar code
{{=form['_action'] = URL(index')}}
but nothing work, or I get error or work but my attribute action value
it stay empty
- - Miroslav Gojic - -
On Sun, Oct 16, 2011 at 00:37, Anthony <[email protected]> wrote:
> form['_action'] = your_value # e.g., URL('controller', 'function', ...)