class RegisterForm(Form):
name = simple.StringField(
label="",
validators=[
validators.DataRequired(message="")
],
widget=widgets.TextInput(),
render_kw={"class": "form-control"},
)
birthday = core.DateField(label="", format="%Y-%m-%d")
ask for advice:
after rendering the page
if birthday does not fill in the time format, the prompt is "Not a valid date value"
how can this be changed to custom Chinese?