None. You are asking to ":eval" the result. It meas the action is supposed to return JS
def test(): return "alert('hello')" anyway, you should debug this with the JS console in chrome. We do not know exactly how your code looks like. On Saturday, 15 December 2012 09:08:37 UTC-6, Daniele wrote: > > I am trying with: > {{=A('Delete Role', _class="btn btn-danger", _id="del_role_tutor", > callback=URL('test'), target=":eval")}} > > and in my controller: > > def test(): > return "Hello" > > or > > def test(): > return dict() > > but when I click the button, nothing happens. Why is this?? > > On Monday, December 10, 2012 9:15:30 PM UTC, Daniele wrote: >> >> When I use form.add_button() I am able to add a button to a form, which I >> can display with {{=form}} in my view. >> >> However, if I'm making a custom form using form.custom, how can I display >> that button?? >> >> Thanks >> > --