Skip to content

Commit 21d2a56

Browse files
authored
Update setSubmitMode.md
Make always, never, and dirty code elements so they don't get localized.
1 parent 74896bb commit 21d2a56

File tree

1 file changed

+5
-5
lines changed
  • powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes

1 file changed

+5
-5
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/setSubmitMode.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "setSubmitMode (Client API reference)| MicrosoftDocs"
33
description: Sets whether data from the column will be submitted when the record is saved.
44
author: HemantGaur
55
ms.author: hemantg
6-
ms.date: 03/12/2022
6+
ms.date: 09/18/2023
77
ms.reviewer: jdaly
88
ms.topic: reference
99
applies_to: "Dynamics 365 (online)"
@@ -33,9 +33,9 @@ All
3333

3434
**Description**: Set one of the following mode values:
3535

36-
- **always**: The data is always sent with a save.
37-
- **never**: The data is never sent with a save. When this value is used, the column(s) in the form for this column cannot be edited.
38-
- **dirty**: Default behavior. The data is sent with the save when it has changed.
36+
- `always`: The data is always sent with a save.
37+
- `never`: The data is never sent with a save. When this value is used, the column(s) in the form for this column cannot be edited.
38+
- `dirty`: Default behavior. The data is sent with the save when it has changed.
3939

4040
## Remarks
4141

@@ -44,7 +44,7 @@ Use this method to control when data for a column is submitted when a record is
4444
> [!NOTE]
4545
> Data in a column will always be refreshed after save operation, even if the column's submit mode is set to `never`. For example, if a column's value in the server is null and the column's submit mode is set to `never`, and the column is modified with some value by the user, after the user saves the form the column's value will be replaced with null.
4646
47-
Columns that do not get updated after the initial save of the record, such as **createdby**, are set so that they will not be submitted on save. To force a column value to be submitted whether it has changed or not, use this method with the *mode* parameter set to "always".
47+
Columns that do not get updated after the initial save of the record, such as `createdby`, are set so that they will not be submitted on save. To force a column value to be submitted whether it has changed or not, use this method with the `mode` parameter set to `always`.
4848

4949
### See also
5050
[getSubmitMode (Client API reference)](getSubmitMode.md)

0 commit comments

Comments
 (0)