Skip to content

Commit 1bed397

Browse files
authored
Merge pull request #3323 from mspilde/patch-13
Update save.md
2 parents 575980a + 3464103 commit 1bed397

File tree

1 file changed

+3
-0
lines changed
  • powerapps-docs/developer/model-driven-apps/clientapi/reference/formContext-data

1 file changed

+3
-0
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/formContext-data/save.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ You can also set an object to control how appointment, recurring appointment, or
3333
|successCallback|Function|No|A function to call when the operation succeeds.|
3434
|errorCallback|Function|No|A function to call when the operation fails. An object with the following properties will be passed:<br/><br/>- **errorCode**: Number. The error code.<br/><br/>- **message**: String. A localized error message.|
3535

36+
[!NOTE]
37+
> When working with forms, and you call the `formContext.data.save` method, make sure that you also call the [preventDefault](../save-event-arguments/preventDefault.md) to ensure that any default save operation is not triggered when a user saves the form.
38+
3639

3740
### Related topics
3841

0 commit comments

Comments
 (0)