Community moderators have prevented the ability to post new answers.
Hi Luis,
Try
def field = getFieldByName("TextFieldA") if ((field?.value as String)?.length() > 32) { field.setError("Length of the field should be less than 32 chars") } else { field.clearError() }
regards, Thanos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.