Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Form validation message

Started by Muut Archive 10 years ago · 4 replies · 413 views
10 years ago

Hi there,

is there a way to return a message after validation.

YAML

                .score:
                  type: text
                  label: Wertung
                  validate:
                    type: int
                    message: 'Bitte Nummer eingeben.'
                    min: 1
                    max: 100
--- 

I can't find a description in the learn-section.

Regards, 

Michael
10 years ago

If possible I would a range type too, but it doesn't show the Value =/.

10 years ago

About two months ago a similar question was raised and answered. I'm afraid it's not something you can do by configuration only.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1354 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4064 9 years ago
Archive · by Muut Archive, 9 years ago
1 2951 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago