NewForm vs EditForm

Copper Contributor

I have a newform.aspx with 3 fields showing and 12 fields hidden by going in the content type to hide them. How can I show all these hidden fields in editform.aspx?



3 Replies
If you just need to show/hide columns, it might be easier to use JSON formatting to hide fields at different times.

Hi @NMenB 


You can use below PnP PowerShell on each of the field to achieve this.


Connect-PnPOnline <spo-site-url>

$ctx = Get-PnPContext
$field = Get-PnPField -Identity <field-name> -List <list-name>




Thank you for your reply. I will try this one out.