create a separate page that contains a copy of the form you will use on the template and apply the Data Assist Insert record behavior to that page. Set the trigger to use the submit button pressed.
when you add the form to the template, change the action to point to the separate page you created.