Hi,
I am having problem with validators dependentFields feature. Could be my misunderstanding as well.
I have DynamicForm bounded to the DataSource with two fields: "first", "second" displayed in this order.
Form has corresponding FormItem's defined.
Both items have custom validators. First item's validator has additionally dependentFields set to "second".
My undestanding is, that in such situation saving the form should trigger validation of the second item and then attempt to validate first item.
But it is not in me case - whatever I do, validation is done according to the items order on the form.
MichalG
SmartGWT 3.0
I am having problem with validators dependentFields feature. Could be my misunderstanding as well.
I have DynamicForm bounded to the DataSource with two fields: "first", "second" displayed in this order.
Form has corresponding FormItem's defined.
Both items have custom validators. First item's validator has additionally dependentFields set to "second".
My undestanding is, that in such situation saving the form should trigger validation of the second item and then attempt to validate first item.
But it is not in me case - whatever I do, validation is done according to the items order on the form.
MichalG
SmartGWT 3.0
Comment