4

Is it possible to customize list form fields on NewForm/EditForm if you are using modern experience functionality? I would like to inject some JavaScript to hide certain fields if others are empty - this was fairly straightforward in SP 2013, but not so much in Office 365.

Thanks

Bob Loblaw
  • 51
  • 3

1 Answers1

6

Unfortunately, in Modern Experience, you can't customize the page to add JS or custom CSS as we did in classic mode, meanwhile, you can


Supported customizations for Modern Experience Page

  • Custom branding like custom themes
  • Adding "modern" pages programmatically
  • Adding, deleting, updating client-side web parts on "modern" pages

Unsupported customizations for Modern Experience Page

  • Custom master pages
  • More extensive branding will be supported later using alternative options
  • Custom page templates (layout templates) and Alternative layouts
  • Adding "classic" web parts on "modern" pages
  • Custom CSS via AlternateCSSUrl web property
  • Custom JavaScript embedded via User Custom Actions

Check also

Mohamed El-Qassas MVP
  • 45,382
  • 9
  • 53
  • 96
  • Hi Mohamed, any suggestions on my question here : https://sharepoint.stackexchange.com/questions/236381/corporate-branding-classic-or-modern-experience-in-sharepoint-online. What did you do on your Site to be responsive? – BizApps Feb 23 '18 at 06:39