Actions
submit-form
3min
The action can be used on a form to save data into any of the Data types (check out Forms to learn more about forms). submit-form has to be used on a default jig with the form component. A typical use case of submit-form is saving or updating the records in a table.
The submit-form action can be set up as a primary action on default jig with a form component
- Your jig type has to be jig.default
- Action must be submit-form with the title of the button, and you need to specify: the id of the form that you wanna save, provider, entity, method and if you are using SQL, REST, SALESFORCE, SOAP you need to specify the function that you are calling.
- On the default jig you need to create a component. form, the instance Id, which will be the id of the form.
- In the form component, you can use the form-allowed components, and the instanceId of each component will be the name of the column of the data row that's gonna be saved.