3

I'm not sure if this is a bug or I'm doing this wrong. I have an asset volume called "Blog Images" and there is a custom required field called Image alt text. If I add images in assets section I'm required to put something in for the alt text, that's good because that what I intended. But I'm using a matrix block that has an asset field that looks to this volume and I am able to upload and image to this volume and not add anything in this field. What am I doing wrong?

Also I should mention this is using Craft 3.

  • I've been wondering this same thing! I can't even find a way for editors to update alt text from the assets HUD. – Katie Fritz May 7 '19 at 21:01
  • having issue at the code side or at the control panel of craft cms? – Priti Rathod May 7 '19 at 22:30
  • You mean you are able to upload an image without entering text even though "alt text" it is a required field at this volume? I think the required field only works as required once the picture is uploaded and you open it and want to save it again. – Rattikarl Jun 5 '19 at 7:55
2

This is available as of 3.2. Make the alt text field required for the asset volume, then check the "related element validation" box when creating an asset field.

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.