Well I first wrongly posted this question as a Issue, that was not very smart...
I just installed Orchard (V1.7.1) for the first time and created a custom form with a text box and a text area. They both have the 'required' checkbox enabled. Now I noticed HTML 5 client side validation is used for the text box but the text area is validated
Now I like to enable client side validation. I found a posting (in 2012) which states you have to add:
<add key="ClientValidationEnabled" value="true"/>
to the web.config and comment out:
in a class named 'OrchardStarter'
Now my questions are:
- Is the above still true for version 1.7.1?
- If yes, where is the OrchardStarter class located?
- Can the server side validation messages be translated somehow? It now says something like 'The somefield is mandatory'. I enabled the localisation module and hoped it was translated automatically.