That is not attribute length requirement but should be done in a validation microflow.
Hi Iqbal,
The max length property of a textbox determines the total number of digits that the user can enter. Chris is right in that you would have to use a validation microflow. You can do this in two ways:
If you only need that validation functionality in this particular instance, I would recommend using the custom save button, since the event handler will be triggered whenever any object of the entity is about to be committed.