Hi,
I have a bunch of Datasources bound to DB tables. Some of them have server-side validations while others dont. but all of them have client-side validations which is enforced by using type="text" or type="integer" in the datasource.
When I save the form using savedata() method it does a validation but it does not call the DynamicForm's asyncValidationReplyHandler method. So in order to have the asyncValidationReplyHandler method called on completion of server-side validations I have to explicitly call the DynamicForm.validate() method. this makes the validation routine run twice.
Is there any way where we can make the savedata method call asyncValidationReplyHandler method when validation is done.
I have a bunch of Datasources bound to DB tables. Some of them have server-side validations while others dont. but all of them have client-side validations which is enforced by using type="text" or type="integer" in the datasource.
When I save the form using savedata() method it does a validation but it does not call the DynamicForm's asyncValidationReplyHandler method. So in order to have the asyncValidationReplyHandler method called on completion of server-side validations I have to explicitly call the DynamicForm.validate() method. this makes the validation routine run twice.
Is there any way where we can make the savedata method call asyncValidationReplyHandler method when validation is done.