Hello everyone,
i'm using a MaskedTextInput field with validation. When the user enters the field and types a "wrong" text (in this case empty text is not allowed), the validation error is shown like expected (field get's the red border an the red tooltip with error message is shown).
But it's likely, that the user doesn't edit this required field and so no validation error can raise (an empty field is a validation error). In this case, i want to raise this validation error manually by code when the user want's so save the form.
How can i do this? I can't find any methods to display the validation error manually.
Regards,
Michael
i'm using a MaskedTextInput field with validation. When the user enters the field and types a "wrong" text (in this case empty text is not allowed), the validation error is shown like expected (field get's the red border an the red tooltip with error message is shown).
But it's likely, that the user doesn't edit this required field and so no validation error can raise (an empty field is a validation error). In this case, i want to raise this validation error manually by code when the user want's so save the form.
How can i do this? I can't find any methods to display the validation error manually.
Regards,
Michael