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?

1
  • 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! Dec 17, 2018 at 17:34

1 Answer 1

10

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.

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .