Hi,
in my entity I have some image fields, which I display conditionally, means, image field 2 only displays, when image field 1 is not empty, image field 3 displays only when image field 2 is not empty and so on.
So if the user would delete image one, image 2 would not be visible anymore, even if not empty.
Iwould like to throw a forbidden, if the user tries to delete a previous image, if there is a following one. What formula I could use?
in my entity I have some image fields, which I display conditionally, means, image field 2 only displays, when image field 1 is not empty, image field 3 displays only when image field 2 is not empty and so on.
So if the user would delete image one, image 2 would not be visible anymore, even if not empty.
Iwould like to throw a forbidden, if the user tries to delete a previous image, if there is a following one. What formula I could use?

Comment