form['_action'] = URL('index') 

not

form['_action'] = URL(index')

On Oct 16, 2:23 am, Miroslav Gojic <miroslavgo...@gmail.com> wrote:
> 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 <abasta...@gmail.com> wrote:
> > form['_action'] = your_value  # e.g., URL('controller', 'function', ...)

Reply via email to