First look at the interface code:
Control CustomValidator Related parameter description:
ErrorMessage: Set the verification prompt information
Display: Set the display mode, Dynamic means that when the prompt information is not displayed, the current position will not be occupied
ClientValidationFunction: Set and define the client-side custom verification function
Client script code:
Recipe15
Final display effect: