Thanks for your replies and explanations.

I tried:

> {{=INPUT(_type="submit", _value="Update data", _action="URL(r=request,
> f="update_form", args=company[0].id))}}

... this is rendered as:

<input action="/mock/crud_company/update_form/2" type="submit"
value="Update data">

... but doesn't work, whereas this:

<button
onclick="window.location='{{=URL(r=request,f='update_form',args=[company[0].id])}}';">Update
data</button>

... being rendered as:

<button onclick="window.location='/mock/crud_company/update_form/
2';">Update data</button>

... does work.


>From your replies and explanations I believe both should work.
Shouldn't they?


Kind regards,

Annet.

Reply via email to