---
schema_version: "1"
id: 6efc0c021c445c4cca19d8d936aa6120942f11879f810775983a59e2133526d8
title: Running Validation with onChange (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_running_validation_with_onchange.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_running_validation_with_onchange.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 82a6d72d28881159ab1a3aa7f9d58f37b4be6f2ad0057a698b292c7a2a98ac64
description: For the managed package runtime, beginning with Vlocity Insurance and Health Winter '20 and Vlocity CME Winter '20, LWC Omniscripts run validation when a user clicks out of a field by using the onBlur function.
products:
  - Omnistudio
release: "264"
---
# Running Validation with onChange (Managed Package)

For the managed package runtime, beginning with Vlocity Insurance and Health Winter '20 and Vlocity CME Winter '20, LWC Omniscripts run validation when a user clicks out of a field by using the onBlur function.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

1. In the Setup properties, click **Edit as JSON**.
2. Add the property "commitOnChange": true.
3. Preview the behavior.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note
    
    In LWC Omniscripts, the onChange behavior runs after a half-second delay.