Skip to content

Commit 389df81

Browse files
committed
Updated show or hide columns in a form
Updated TOC and the documentation for show or hide columns in a list form.
1 parent 91db024 commit 389df81

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

docs/declarative-customization/list-form-conditional-show-hide.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,12 @@ The column is represented by specifying the **internal name** of the field surro
6363

6464
While the formula supports many of the available column types, we do not currently support the following column types:
6565

66+
* Person columns with multiple selections
67+
* Time calculations in DateTime column
6668
* Currency columns
6769
* Location columns
6870
* Calculated columns
71+
* Managed Metadata columns
6972

7073
#### Quick formula reference
7174

@@ -110,3 +113,20 @@ An example checking if the dates from [$StartDate] and [$EndDate] columns are be
110113
```
111114
=if([$StartDate] >= Date('4/6/2020') && [$EndDate] <= Date('6/10/2020'),'true','false')
112115
```
116+
117+
##### Person column
118+
119+
The following formula checks if the person column [$Owner] is equal to a specific user's email.
120+
121+
```
122+
=if([$Owner.email]=='[email protected]', 'true', 'false')
123+
```
124+
125+
##### Boolean (Yes/No) column
126+
127+
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.
128+
129+
```
130+
=if([$Promoted]==true,'true','false')
131+
```
132+

docs/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@
8181
href: declarative-customization/column-formatting.md
8282
- name: View formatting
8383
href: declarative-customization/view-formatting.md
84+
- name: Forms configuration
85+
items:
86+
- name: Show or hide columns in a form
87+
href: declarative-customization/list-form-conditional-show-hide.md
8488
- name: Webhooks
8589
href: apis/webhooks/overview-sharepoint-webhooks.md
8690
items:

0 commit comments

Comments
 (0)