2

I wish to do Client Side Validation for document library forms. I have tried doing it using jquery for List forms and it is working fine. But when i tried this for Document Library forms, it's not working. Will it not work for document libraries? Any suggestions would be appreciable.

  • Are you adding validation in editform.aspx in document library? – Sabitha S Jul 27 '16 at 9:49
  • Yes Sabitha i am adding validation in editform.aspx in document library. – mohd tahir Jul 27 '16 at 10:32
2

Are you using the "New Experience" Document Library UI?

If so, then it won't accept any branding, or custom script. Microsoft has disabled everything.

The current answer from Microsoft is: Switch back to Classic Mode

https://support.office.com/en-us/article/Differences-between-the-new-document-library-experience-and-classic-mode-30e1aab0-a5cc-4363-b7f2-09e2ae07d4dc?ui=en-US&rs=en-US&ad=US

  • Thanks for replying Danny. Microsoft isn't letting me to turn on the old classic experience now. Also i am able to apply validations in my share point lists but not libraries specifically. – mohd tahir Jul 27 '16 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.