Carl Franks <[email protected]> writes:

> I'm not sure what's causing that error message, but I'm not sure that
> code's exactly what you want.
> remove_element() returns the element that's removed - which in this
> case will be stringified and inserted into the template.
>
> If you don't want the field printed, then you'll need the CALL directive:
>
> [% txt = form.get_all_element('field1') %]
> [% CALL txt.parent.remove_element( txt ) %]

Great. I forgot this directive.

Thank you.

-- 
Radek

_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to