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
* Fixed typos and improved formatting
* Added lookup column as unsupported column
Added lookup column as unsupported column, as mentioned by Andrew Connell at: SharePoint#6249
Copy file name to clipboardExpand all lines: docs/declarative-customization/list-form-conditional-show-hide.md
+30-29Lines changed: 30 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ localization_priority: Priority
7
7
8
8
# Show or hide columns in a list or library form
9
9
10
-
You can show or hide columns in a list or library form as an alternative to deleting them. When you hide a column, it doesn't affect the column or the data in the column, as it would if you deleted it. To re-use the column, you can simply show it again in the form.
10
+
You can show or hide columns in a list or library form as an alternative to deleting them. When you hide a column, it doesn't affect the column or the data in the column, as it would if you delete it. To re-use the column, you can simply show it again in the form.
11
11
12
12
To show or hide a column in a list or library form:
13
13
@@ -23,11 +23,11 @@ To show or hide a column in a list or library form:
23
23
- Locate the **Properties** section.
24
24
- Click **Edit all**.
25
25
26
-
1. At the top of the form, select **Edit Form > Edit columns**.
27
-
1. In the **Edit columns** pane, check (to show) or uncheck (to hide) the box for the column or columns as needed.
26
+
1. At the top of the form, select **Edit form > Edit columns**.
27
+
1. In the **Edit columns** pane, check (to show) or uncheck (to hide) the checkbox for the column or columns as needed.
28
28
29
29
> [!NOTE]
30
-
> If you want to re-arrange the order of the columns, either drag-and-drop the column name, or select the up or down arrow next to the column name as preferred.
30
+
> If you want to re-arrange the order of the columns, either drag-and-drop the column name, or first select the far right hand edge of the column name to display the options menu **(...)** and then select Move Up or Move Down as preferred.
31
31
32
32
1. When you're finished, select **Save**.
33
33
@@ -48,25 +48,26 @@ To specify a conditional formula for a column, in the **Edit columns** pane:
48
48
49
49
### Get started with conditional formulas
50
50
51
-
Formulas are equations that perform conditional expressions on column values in a list or library. A formula starts with an equal sign (=) followed by the _if_ function that returns either a _true_ or a _false_ result.
51
+
Formulas are equations that perform conditional checks on column values in a list or library. A formula starts with an equal sign (=) followed by the _if_ function that returns either a _true_ or a _false_ result.
52
52
53
-
For example, the following formula checks if the value for the *Category* column is *Product Management*.
53
+
For example, the following formula checks if the value for the *Category* column is *Product Management*:
Returning _true_ results in hiding the column in the form while returning _false_does not.
59
+
Returning _true_ results in showing the column on the form while returning _false_hides the column.
60
60
61
-
The column is represented by specifying the **internal name** of the field surrounded by square brackets and preceded by a dollar sign: [$InternalName]. For example, to get the value of a field with an internal name of "ProductName", use [$ProductName].
61
+
The column is represented by specifying the **internal name** of the field surrounded by square brackets and preceded by a dollar sign: `[$InternalName]`. For example, to get the value of a field with an internal name of "ProductName", use `[$ProductName]`.
62
62
63
-
#### Supported column types in conditional show or hide
63
+
#### Unsupported column types in conditional formulas
64
64
65
65
While the formula supports many of the available column types, we do not currently support the following column types:
66
66
67
-
* Person columns with multiple selections
68
-
* Multiple choice column
69
-
* Time calculations in DateTime column
67
+
* Person or Group with multiple selections
68
+
* Choice with multiple selections
69
+
* Lookup columns
70
+
* Time calculations in Date and Time column
70
71
* Currency columns
71
72
* Location columns
72
73
* Calculated columns
@@ -76,59 +77,59 @@ While the formula supports many of the available column types, we do not current
76
77
77
78
##### Choice column
78
79
79
-
The following formula checks if the choice column [$Category] has a value *Product Management*:
80
+
The following formula checks if the choice column `[$Category]` has a value *Product Management*:
The following formula checks if the date column [$StartDate] is equal to a specific date. To do so, it uses the *Date()* function to convert a given string into a date:
102
+
The following formula checks if the date column `[$StartDate]` is equal to a specific date. To do so, it uses the *Date()* function to convert a given string into a date:
The following formula checks if the Yes/No column [$Promoted] is equal to a Yes. To do so, it checks for the value _true_ which maps to _Yes_ for users.
130
+
The following formula checks if the Yes/No column `[$Promoted]` is equal to a Yes. To do so, it checks for the value _true_ which maps to _Yes_ for users.
0 commit comments