Validation not working on read only fields?

Validation doesn’t seem to be working for read only fields.

These fields are read only because they are populated via an API action and are not supposed to be changed by the user.

Therefore the fields are allowed to be sent empty.

Text in the image are placeholders only.

It is working fine on the other form fields (non read only).

Is this a bug?

TIA

I don’t think it’s a bug. I think that is just the way it is. This link may provide you with a work around.

1 Like