Forum Discussion
Bd2023-b
Aug 29, 2023Brass Contributor
Unable to add a view only textbox to sharepoint list form
Hi , I tried different approach but unable to mark the text box view only in sharepoint list form ? Any way to do it with Json ? I am asking as this field should not be updated by user . Note: Quest...
- Aug 29, 2023
- Kelly_Edinger - THANKS , thanks for helping . I thought that if we have a way in Json to do that. I think you are correct we don’t a way in Sharepoint online to do it right now. good discussion and thanks again.
Aug 29, 2023
I don't see any JSON options for this, and if you're not adding Power Apps, then your best bet may be to use a Lookup Column that pulls in that field from another list where most of your users have Read Only access. I know it doesn't sound ideal, but it could work.
Bd2023-b
Aug 29, 2023Brass Contributor
Kelly_Edinger - In this case it’s a % score calculated through power automate and entered to sharepoint so Share point Edit form have this value . So if I make a look up column it will work ?
- Aug 29, 2023OK, that makes it more interesting...there may still be a way to do that, but it would probably be entirely over-engineered (unfortunately, I don't even know the over-engineered version). Where are people editing the field? Maybe disable the Quick Edit view in Advanced Settings? Hide the field from the 'New' and 'Edit' form and display the list on a page with the toolbar hidden? (I know these are not ideal)
- Bd2023-bAug 29, 2023Brass Contributor
Kelly_Edinger - Currently User can edit the value in Sharepoint list form . When they click new that field is blank , but when they enter the other value , and save the value got calculated. So when some click edit , I want that value to view only rather than some one go and edit it . Even when click new also I don’t want some one to put some value in that place.
- Aug 29, 2023Would this work to hide the field from the new/edit form with this https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-conditional-show-hide
and then just display a list view as a web part on a page? If not, I'm afraid I just wasted a lot of your time. I don't see a way to do this with SharePoint Online.