6

I need to remove "Alt required" validation from Alt field in Image template, I removed "Alt required" validation from template image in path "/sitecore/templates/System/Media/Unversioned/Image" enter image description here But when i create field in template from type image and select uploaded image without Alt text, validation is shown.enter image description here

is there way to remove this validation??

  • 2
    Answer below is good. Also just a suggestion - it is not best practice to modify base Sitecore templates. A future update could possibly break your solution. Best Regards! – Justin Bradley Dec 17 '18 at 17:34
7

Go to /sitecore/system/Settings/Validation Rules/Field Types/Image item and remove the Image Has Alt Text from the Validation Rules section where you don't want to run this validator. What you removed is the validator on the Image items in the media library.

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.