Hi Isomorphic,
please see this BuiltInDS based testcase (v11.1p_2018-01-11).
I'd suggest that the default error message when using criteriaFields is instead "Values for fields Animal and Life Span must be unique"
Also you can see that there seems to be some issue with the DetailViewer or DynamicForm, as the fields are cleared after the validation error is received (noticed by chance and not important for me).
Change in animals.ds.xml:
Best regards
Blama
please see this BuiltInDS based testcase (v11.1p_2018-01-11).
I'd suggest that the default error message when using criteriaFields is instead "Values for fields Animal and Life Span must be unique"
Also you can see that there seems to be some issue with the DetailViewer or DynamicForm, as the fields are cleared after the validation error is received (noticed by chance and not important for me).
Change in animals.ds.xml:
Code:
<field name="commonName" title="Animal" type="text"> <validators> <validator type="isUnique" criteriaFields="lifeSpan" /> </validators> </field>
Blama
Comment