I have a custom form in one of my views in which I access an element this way:
<div class="auth-body"> {{=form.custom.begin}} {{del form.element('table')[-1]}} {{=form.element('table')}} </div> <!-- /.auth-body --> <div class="auth-footer"> {{=form.custom.submit}} <input class="btn" type="button" value={{=T("Cancel")}} onclick="javascript:history.go(-1);"> {{=form.custom.end}} Annet --