简体   繁体   中英

Make few fields of SharePoint list infopath form read only

My requirement is New form should have all fields editable and Edit form should have few fields read-only (Like ID entered by user in New form for the item). How is it possible through form customization done using Infopath.

You could have a checkbox or any bool control that gets checked when a form is initially filled out and submitted to a SharePoint list, have it change value "on-submit". When the form loads just add a rule that if 'existingForm' (or whatever you name the control) is checked and if it is then disable/or hide the control.

You could disable the controls, or you could hide them completely and display their values through a calculated field/value which is normally hidden.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM