---
schema_version: "1"
id: 7aa847eafb86186d16d7a6810bcff4a9bd42e962425983ce555f6330738b4320
title: Overwrite Edit Block Values in Omniscripts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_overwrite_edit_block_values_14919.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_overwrite_edit_block_values_14919.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b66ad8a5ad45ad490bff678319e882a7699dc454792066de0a852b57c619f253
description: Overwrite the number of children in an Edit Block in an Omniscript. You can also set the Edit Block's value to null in between steps.
products:
  - Omnistudio
release: "264"
---
# Overwrite Edit Block Values in Omniscripts

Overwrite the number of children in an Edit Block in an Omniscript. You can also set the Edit Block's value to `null` in between steps.

1. In the Setup panel of an Omniscript, click **Edit Properties As JSON**, and enter JSON node "allowOverwrite": true.
2. Add an Edit Block inside a Step.
3. To populate the Edit Block from an action, add an action, such as Set Values inside or before a step and configure the action.
4. To enable an action to set the Edit Block's value to `null` (empty) in between steps, select **Allow Clear** in the Properties pane of the Edit Block. The action must be in between, before, or after a step.
    
    For example, add a Set Values action in between two steps where the Element Value is `{EditBlock1: null}`. If EditBlock1 is on the first step, when the user reaches the second step and goes back to the first, the contents of EditBlock1 is emptied.
5. To enable the action to remove the Edit Block, select **Allow Delete**.