Tina G
30 Oct 2007, 1:22 AM
I am looking for some more information on form.submit's success handler. Particularly, I am interested in action parameter in
success: function(form_instance_create, action) { }
My server side when it identifies error condition (from the form details sent to server) it wants to send the error message and display the same (before form is hidden). For this I need to know about action parameter: what is it, how to use it for my purpose (sending error msg), what format does it support (on the forum there has been some mention of json string; would like to verify that) etc?
I have been looking for hints on this for quite a few hours now. Would greatly appreciate a quick response.
success: function(form_instance_create, action) { }
My server side when it identifies error condition (from the form details sent to server) it wants to send the error message and display the same (before form is hidden). For this I need to know about action parameter: what is it, how to use it for my purpose (sending error msg), what format does it support (on the forum there has been some mention of json string; would like to verify that) etc?
I have been looking for hints on this for quite a few hours now. Would greatly appreciate a quick response.