Mar 06 2023
I cannot find a way other than lame work arounds. Is there a way for JSON to know if i am viewing a new or edit form? I want to hide some fields on my new form and hide them on edit.
Mar 07 2023
@Sobiepan Unfortunately, No. You cannot check if current list form is new item form or edit item form using JSON formatting.
Check my answer on this thread for detailed information: How to detect Edit vs New when styling custom list forms with JSON?
You have to customize list form using Power Apps to show/hide fields based on form mode (new/edit): Displaying fields when creating new item and them hide them when editing the item, and viceversa. Ho...
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs