You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> As of August 2019, the URI format has changed from https://web.powerapps.com/webplayer to https://apps.powerapps.com/play. Please update any embedded iframes to use the new URI format. References to the previous format will be redirected to the new URI to ensure compatibility.
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/functions/function-form.md
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,19 @@ search.audienceType:
14
14
search.app:
15
15
- PowerApps
16
16
---
17
+
17
18
# EditForm, NewForm, SubmitForm, ResetForm, and ViewForm functions in Power Apps
19
+
18
20
View, edit, or create an item, save the contents, and reset the controls in an **[Edit form](../controls/control-form-detail.md)** control.
19
21
20
22
## Overview
23
+
21
24
These functions change the state of the **Edit form** control. The form control can be in one of these modes:
22
25
23
26
| Mode | Description |
24
27
| --- | --- |
25
28
|**FormMode.Edit**|The form is populated with an existing record and the user can modify the values of the fields. Once complete, the user can save the changes to the record. |
26
-
|**FormMode.New**|The form is populates with default values and the user can modify the values of the fields. Once complete, the user can add the record to the data source. |
29
+
|**FormMode.New**|The form is populated with default values and the user can modify the values of the fields. Once complete, the user can add the record to the data source. |
27
30
|**FormMode.View**|The form is populated with an existing record but the user cannot modify the values of the fields. |
28
31
29
32
## Description
@@ -56,7 +59,7 @@ The **ResetForm** function resets the contents of a form to their initial values
56
59
The **ViewForm** function changes the Form control's mode to **FormMode.View**. In this mode, the contents of the Form control's **[Item](../controls/control-form-detail.md)** property are used to populate the form. The **SubmitForm** and **ResetForm** functions have no effect when in this mode.
57
60
58
61
### DisplayMode Property
59
-
The current mode can be read through the **Mode** property. The mode also determines the value of the **DisplayMode** property which can be used by data cards and controls within the form control. Often, the data card's **DisplayMode** property will be set to **Parent.DisplayMode** (referencing the form) as will the control's **DisplayMode** property (referencing the data card):
62
+
The current mode can be read through the **Mode** property. The mode also determines the value of the **DisplayMode** property, which can be used by data cards and controls within the form control. Often, the data card's **DisplayMode** property will be set to **Parent.DisplayMode** (referencing the form) as will the control's **DisplayMode** property (referencing the data card):
0 commit comments