Open
Description
I don't know if I'm doing things wrong but, trying to configure validation messages I've noticed the error codes returned are not the correct ones:
<form name="exeParams" sf-options="{ validationMessage: {
302: 'Requireddd',
0: 'aklsdjalksjd',
202: 'asjkdlasjdlk',
201: 'loongg',
200: 'Shoorrt'
}
}" sf-schema="schema" sf-form="form" sf-model="schemaModel"></form>
Only show the default required error message.
If I set
<form name="exeParams" sf-options="{ validationMessage: {
required: 'Requireddd',
0: 'aklsdjalksjd',
202: 'asjkdlasjdlk',
201: 'loongg',
200: 'Shoorrt'
}
}" sf-schema="schema" sf-form="form" sf-model="schemaModel"></form>
It does show "Requireddd". I tried setting the validationMessage attribute into form variable array items and the same happens