cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vaibhav_k
Resolver II
Resolver II

Disable certain fields in SharePoint list edit form

Hi, how can the Period and Quartely values fields be disabled on sharepoint list edit form? 

I should still be able to add new fields in repeating table but for existing entries, it must show disabled.

 

I tried  in

 

DisplayMode= If(
Form1.Mode = FormMode.New,
DisplayMode.Edit,
DisplayMode.Disabled
)

 

Vaibhav_k_2-1638945538731.png

 

But it disables the new rows as well. any suggestions?

 

1 ACCEPTED SOLUTION

Accepted Solutions

If(
Form1.Mode =FormMode.Edit && ThisItem.ID>0,
DisplayMode.Disabled,
DisplayMode.Edit
)

View solution in original post

2 REPLIES 2
Vaibhav_k
Resolver II
Resolver II

The fields have some default values so they are not completely blank.

 

If(
Form1.Mode =FormMode.Edit && ThisItem.ID>0,
DisplayMode.Disabled,
DisplayMode.Edit
)

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,936)