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.

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

1 Answer 1

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

1
  • 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
    Commented Jul 27, 2016 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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