{{ form_start(form, {'attr': {'onsubmit': 'return changeInvoiceCustomerSave(this)', 'id': 'new-customer'}}) }} {{ form_end(form) }}