diff --git a/docs/en/topics/forms.md b/docs/en/topics/forms.md index 47427e1d9..648a13200 100644 --- a/docs/en/topics/forms.md +++ b/docs/en/topics/forms.md @@ -260,7 +260,7 @@ First of all, you need to create your form on it's own class, that way you can d is *MyForm*. If the template doesn't exist, then it falls back to using Form.ss. *MyForm.ss* should then be placed into your *templates/Includes* directory for your project. Here is an example of -basic customisation: +basic customisation, with two ways of presenting the field and its inline validation: :::ss
@@ -274,11 +274,19 @@ basic customisation:
$Fields.dataFieldByName(Email) + + $Fields.dataFieldByName(Email).Message +
- $Fields.dataFieldByName(Password) + <% with $Fields.dataFieldByName(Password) %> + $field + <% if $Message %> +

$Message

+ <% end_if %> + <% end_with %>
$Fields.dataFieldByName(SecurityID)