diff options
Diffstat (limited to 'documentation/datamodel')
-rw-r--r-- | documentation/datamodel/datamodel-forms.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/datamodel/datamodel-forms.asciidoc b/documentation/datamodel/datamodel-forms.asciidoc index 06705a7fc6..e292b20b08 100644 --- a/documentation/datamodel/datamodel-forms.asciidoc +++ b/documentation/datamodel/datamodel-forms.asciidoc @@ -185,7 +185,7 @@ The following example will first validate that the entered text looks like an em [source, java] ---- -binder.setForField(emailField) +binder.forField(emailField) .withValidator(new EmailValidator( "This doesn't look like a valid email address")) .withValidator( |