Skip to content

Commit 7ac409c

Browse files
authored
Merge pull request #1489 from MicrosoftDocs/aneesmsft-DragAndDrop
Updates for form designer - Drag/drop and cut/paste features
2 parents 4d8ac57 + 60dff15 commit 7ac409c

8 files changed

+419
-98
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,8 +767,16 @@
767767
items:
768768
- name: "Create or edit forms"
769769
href: ./model-driven-apps/create-and-edit-forms.md
770+
- name: "Add, move or delete fields"
771+
href: ./model-driven-apps/add-move-or-delete-fields-on-form.md
772+
- name: "Add, move or delete sections"
773+
href: ./model-driven-apps/add-move-or-delete-sections-on-form.md
774+
- name: "Add, move or delete tabs"
775+
href: ./model-driven-apps/add-move-or-delete-tabs-on-form.md
770776
- name: "Properties in the form designer"
771777
href: ./model-driven-apps/form-designer-properties.md
778+
- name: "Using the tree view"
779+
href: ./model-driven-apps/using-tree-view-on-form.md
772780
- name: Type of forms
773781
href: ./model-driven-apps/types-forms.md
774782
items:
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
---
2+
title: "Add, move or delete fields on a form using the form designer | MicrosoftDocs"
3+
ms.custom: ""
4+
ms.date: 04/21/2019
5+
ms.reviewer: ""
6+
ms.service: powerapps
7+
ms.suite: ""
8+
ms.tgt_pltfrm: ""
9+
ms.topic: "get-started-article"
10+
applies_to:
11+
- "Dynamics 365 (online)"
12+
- "Dynamics 365 Version 9.x"
13+
- "PowerApps"
14+
author: "Aneesmsft"
15+
ms.author: "matp"
16+
manager: "kvivek"
17+
tags:
18+
- "PowerApps maker portal impact"
19+
search.audienceType:
20+
- maker
21+
search.app:
22+
- "PowerApps"
23+
- D365CE
24+
---
25+
26+
# Add, move or delete fields on a form using the form designer
27+
[!INCLUDE [cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
28+
29+
> [!NOTE]
30+
> When adding or moving fields using drag and drop be aware that the form preview is responsive and may be rendering multiple section columns as stacked. To ensure that the field being added or moved is in the correct section column, drop or paste it anchored to another field that is already in that section column.
31+
32+
## Add fields to a form
33+
To add fields to a form, use the **Fields** pane. The **Fields** pane lets you search and filter to help you quickly find fields. It also includes the option to show only unused fields.
34+
35+
### Add fields to a form using drag and drop
36+
37+
1. Open the form designer to create or edit a form.
38+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
39+
2. In the command bar, select **Add field**, or in the left pane, select **Fields**.
40+
- The **Fields** pane is open by default when the form designer is opened.
41+
3. In the **Fields** pane, search, filter, or scroll to find the field you want to add.
42+
- If you can't find a field, it might already be on the form. Clear **Show only unused fields** to view all fields, including those already added to the form.
43+
4. In the **Fields** pane, select a field and drag it onto the form preview. As you drag the field on the form preview, you will see drop targets where you can add the field.
44+
5. Drop the field in the ___location you want.
45+
- Fields can be dropped before or after any existing field.
46+
- Fields can also be dropped in the empty area within a section. In this case the field will be added in an available space so as to evenly distribute fields across the section columns.
47+
- Hovering over a tab header when dragging a field changes the currently selected tab, allowing you to add the field to a different tab.
48+
6. Repeat steps 3-5 above if you want to add more fields.
49+
7. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
50+
51+
### Add fields to a form using selection
52+
53+
1. Open the form designer to create or edit a form.
54+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
55+
2. In the form preview, select another existing field or section.
56+
- When you select an existing field, the new field is added after the existing field.
57+
- When you select a section, the new field is added in an available space so as to evenly distribute fields across the section columns.
58+
3. In the command bar, select **Add field**, or in the left pane, select **Fields**.
59+
- The **Fields** pane is open by default when the form designer is opened.
60+
4. In the **Fields** pane, search, filter, or scroll to find the field you want to add.
61+
- If you can't find a field, it might already be on the form. Clear **Show only unused fields** to view all fields, including those already added to the form.
62+
5. In the **Fields** pane, select a field to add it to the form.
63+
- Alternatively, select **...** next to the field you want, and then select **Add to selected section**.
64+
6. Repeat steps 2-5 above if you want to add more fields.
65+
7. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
66+
67+
## Move fields on a form
68+
69+
### Move fields on a form using drag and drop
70+
71+
1. Open the form designer to create or edit a form.
72+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
73+
2. In the form preview, click on the field that you want to move and initiate the drag action. As you drag the field on the form preview, you will see drop targets where you can move the field to.
74+
3. Drop the field in the ___location you want.
75+
- Fields can be dropped before or after any existing field.
76+
- Fields can also be dropped in the empty area within a section. In this case the field will be added in an available space so as to evenly distribute fields across the section columns.
77+
- Hovering over a tab header when dragging a field changes the currently selected tab, allowing you to add the field to a different tab.
78+
4. Repeat steps 2-3 above if you want to move more fields.
79+
5. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
80+
81+
> [!NOTE]
82+
> - Moving fields in the header and footer using drag and drop is not yet supported.
83+
84+
### Move fields on a form using cut and paste
85+
86+
1. Open the form designer to create or edit a form.
87+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
88+
2. In the form preview, select the field that you want to move.
89+
3. In the command bar, select **Cut**.
90+
4. In the form preview, select another existing field or section. You can also switch to a different tab if needed.
91+
5. In the command bar, select **Paste** or click on the chevron and then select **Paste before**.
92+
- When you select **Paste**, the field being moved is pasted after the existing field.
93+
- When you select **Paste before**, the field being moved is pasted before the existing field.
94+
- When you select a section, the field being moved is added in an available space so as to evenly distribute fields across the section columns. The **Paste before** action is not applicable and therefore not available in this case.
95+
6. Repeat steps 2-5 above if you want to move more fields.
96+
7. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
97+
98+
## Delete fields on a form
99+
1. Open the form designer to create or edit a form.
100+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
101+
2. In the form preview, select the field that you want to delete from the form.
102+
3. In the command bar, select **Delete**.
103+
4. Repeat steps 2-3 above if you want to delete more fields.
104+
5. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
105+
106+
> [!NOTE]
107+
> - If you delete a field by mistake, in the command bar, select **Undo** to revert the form to its previous state.
108+
> - You can't delete a field that is required or locked.
109+
110+
## See also
111+
[Overview of the model-driven form designer](form-designer-overview.md)
112+
[Create or edit forms using the form designer](create-and-edit-forms.md)
113+
[Add, move or delete sections on a form using the form designer](add-move-or-delete-sections-on-form.md)
114+
[Add, move or delete tabs on a form using the form designer](add-move-or-delete-tabs-on-form.md)
115+
[Properties available in the form designer](form-designer-properties.md)
116+
[Using the tree view in the form designer](using-tree-view-on-form.md)
117+
[Create and edit fields](../common-data-service/create-edit-field-portal.md)
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
---
2+
title: "Add, move or delete sections on a form using the form designer | MicrosoftDocs"
3+
ms.custom: ""
4+
ms.date: 04/21/2019
5+
ms.reviewer: ""
6+
ms.service: powerapps
7+
ms.suite: ""
8+
ms.tgt_pltfrm: ""
9+
ms.topic: "get-started-article"
10+
applies_to:
11+
- "Dynamics 365 (online)"
12+
- "Dynamics 365 Version 9.x"
13+
- "PowerApps"
14+
author: "Aneesmsft"
15+
ms.author: "matp"
16+
manager: "kvivek"
17+
tags:
18+
- "PowerApps maker portal impact"
19+
search.audienceType:
20+
- maker
21+
search.app:
22+
- "PowerApps"
23+
- D365CE
24+
---
25+
26+
# Add, move or delete sections on a form using the form designer
27+
[!INCLUDE [cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
28+
29+
> [!NOTE]
30+
> When adding or moving sections using drag and drop be aware that the form preview is responsive and may be rendering multiple tab columns as stacked. To ensure that the section being added or moved is in the correct tab column, drop or paste it anchored to another section that is already in that tab column.
31+
32+
## Add sections to a form
33+
To add sections to a form, use the **Layouts** pane.
34+
35+
> [!NOTE]
36+
> - Sections can only be added on main forms and quick view forms. More information: [Form types](types-forms.md)
37+
38+
### Add sections to a form using drag and drop
39+
40+
1. Open the form designer to create or edit a form.
41+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
42+
2. In the command bar, select **Add control**, or in the left pane, select **Layouts**.
43+
3. In the **Layouts** pane, select a section control and drag it onto the form preview. As you drag the section on the form preview, you will see drop targets where you can add the section.
44+
4. Drop the section in the ___location you want.
45+
- Sections can be dropped before or after any existing section.
46+
- Sections can also be dropped in the empty area within a tab. In this case the section will be added in an available space so as to evenly distribute sections across the tab columns.
47+
- Hovering over a tab header when dragging a section changes the currently selected tab, allowing you to add the section to a different tab.
48+
5. Repeat steps 3-4 above if you want to add more sections.
49+
6. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
50+
51+
### Add sections to a form using selection
52+
53+
1. Open the form designer to create or edit a form.
54+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
55+
2. In the form preview, select another existing section or tab.
56+
- When you select an existing section, the new section is added after the existing section.
57+
- When you select a tab, the new section is added in an available space so as to evenly distribute sections across the tab columns.
58+
3. In the command bar, select **Add control**, or in the left pane, select **Layouts**.
59+
4. In the **Layouts** pane, select a section control to add it to the form.
60+
- Alternatively, select **...** next to the section control you want, and then select **Add to selected tab**.
61+
5. Repeat steps 2-4 above if you want to add more sections.
62+
6. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
63+
64+
## Move sections on a form
65+
66+
### Move sections on a form using drag and drop
67+
68+
1. Open the form designer to create or edit a form.
69+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
70+
2. In the form preview, click on the section label or empty white-space within the section that you want to move and initiate the drag action. As you drag the section on the form preview, you will see drop targets where you can move the section to.
71+
3. Drop the section in the ___location you want.
72+
- Sections can be dropped before or after any existing section.
73+
- Sections can also be dropped in the empty area within a tab. In this case the section will be added in an available space so as to evenly distribute sections across the tab columns.
74+
- Hovering over a tab header when dragging a section changes the currently selected tab, allowing you to add the section to a different tab.
75+
4. Repeat steps 2-3 above if you want to move more sections.
76+
5. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
77+
78+
### Move sections on a form using cut and paste
79+
80+
1. Open the form designer to create or edit a form.
81+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
82+
2. In the form preview, select the section that you want to move.
83+
3. In the command bar, select **Cut**.
84+
4. In the form preview, select another existing section or tab. You can also switch to a different tab if needed.
85+
5. In the command bar, select **Paste** or click on the chevron and then select **Paste before**.
86+
- When you select **Paste**, the section being moved is pasted after the existing section.
87+
- When you select **Paste before**, the section being moved is pasted before the existing section.
88+
- When you select a tab, the section being moved is added in an available space so as to evenly distribute sections across the tab columns. The **Paste before** action is not applicable and therefore not available in this case.
89+
6. Repeat steps 2-5 above if you want to move more sections.
90+
7. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
91+
92+
## Delete sections on a form
93+
1. Open the form designer to create or edit a form.
94+
- More information: [Create a form](create-and-edit-forms.md#create-a-form) or [Edit a form](create-and-edit-forms.md#edit-a-form)
95+
2. In the form preview, select the section that you want to delete from the form.
96+
3. In the command bar, select **Delete**.
97+
4. Repeat steps 2-3 above if you want to delete more sections.
98+
4. In the command bar, select **Save** to save the form, or select **Publish** if you want to save and make your changes visible to end-users.
99+
100+
> [!NOTE]
101+
> - Sections can only be deleted on main forms and quick view forms. More information: [Form types](types-forms.md)
102+
> - If you delete a section by mistake, in the command bar, select **Undo** to revert the form to its previous state.
103+
> - You can't delete a section that contains a field that is required or locked.
104+
> - You can't delete a section that is locked.
105+
> - A tab needs to have at least one section in each tab column. If you delete the last remaining section in a tab column a new section will be automatically added.
106+
107+
## See also
108+
[Overview of the model-driven form designer](form-designer-overview.md)
109+
[Create or edit forms using the form designer](create-and-edit-forms.md)
110+
[Add, move or delete fields on a form using the form designer](add-move-or-delete-fields-on-form.md)
111+
[Add, move or delete tabs on a form using the form designer](add-move-or-delete-tabs-on-form.md)
112+
[Properties available in the form designer](form-designer-properties.md)
113+
[Using the tree view in the form designer](using-tree-view-on-form.md)
114+
[Create and edit fields](../common-data-service/create-edit-field-portal.md)

0 commit comments

Comments
 (0)