> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: onSubmissionUpdated(event: SubmissionUpdated) # Method package: wixFormsV2 # Method menu location: wixFormsV2 --> onSubmissionUpdated # Method Link: https://dev.wix.com/docs/velo/events-service-plugins/forms/events/on-submission-updated.md # Method Description: Triggered when: - Submission is updated. - Submission order status is updated. - Submission is confirmed. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## An event that triggers when submission is updated ```javascript // Place this code in the events.js file // of your site's Backend section. // Add the file if it doesn't exist. export function wixForms_onSubmissionUpdated(event) { const entityId = event.entity._id; console.log(`Updated submission with the id: ${entityId}. Event details: `, event) } /* Full event object: { "entity": { "formId": "21bcb6c7-02b3-4ed1-b6db-7856094fac03", "namespace": "wix.form_app.form", "status": "PENDING", "submissions": { "first_name": "Patsy", "last_name": "McBride" }, "revision": "1", "owner": { "applicationId": "151e476a-715e-ec33-db9a-a7ff4d51f70a" }, "submitter": { "applicationId": "151e476a-715e-ec33-db9a-a7ff4d51f70a" }, "seen": false, "_id": "f8281b62-1b2f-45bf-ba7d-f041d7653d2d", "_createdDate": "2023-12-28T12:55:55.630Z", "_updatedDate": "2023-12-29T11:53:55.746Z" }, "metadata": { "entityId": "f8281b62-1b2f-45bf-ba7d-f041d7653d2d", "eventTime": "2023-12-29T11:53:55.746Z", "id": "a92d9e8b-abd7-4903-a954-5a6848f6f4eb", "triggeredByAnonymizeRequest": false } } ``` ---