Save current form data

The Save current form data action saves all input fields on the current form that are linked to the database. Trigger it from a rule (for example on a Save button click). It sends the form data to the server, and the server returns any new record IDs which are then filled back into the form.

Properties and Explanation Here are the steps to follow in order to use the Save current form data action:

  • No properties to set: There are no settings to change for this action. It always works on the current form it is placed on.

  • Where to put it: Add this action to a rule and choose when the rule should run (for example: on a Save button click, on form submit, or after a field change).

  • What happens when it runs:

    • The action collects every form field that is connected to the database.

    • It sends that data to the server.

    • If the server creates new records, it returns their IDs and the action updates the form so those IDs appear in the saved records.

    • If some items were removed on the form, those removals are sent too so the server can delete them.

    • If something goes wrong the action logs the error (and you can see it in the browser console).

Full Configuration Example Below is a screenshot-style description of the Save current form data action configuration:

  • Properties: none (no settings to change)

  • Trigger: Save button click (example)

In this example, when the user clicks the Save button the action gathers all bound fields on the form, sends them to the server, updates any newly created record IDs back into the form, and processes deletions if present. If the device is offline or there is an error, the action logs the problem so you can retry.

Last updated