SmartClient Version: v9.0p_2013-11-15/PowerEdition Development Only (built 2013-11-15)
modify the #formsBlockingErrors sample like this:
then type a random tracking # and press 'submit'.
I was expecting the callback would be invoked, due to willHandleError:true, but it isn't.
Is it a bug, or I'm missing something?
modify the #formsBlockingErrors sample like this:
Code:
isc.DynamicForm.create({ ID: "boundForm", dataSource: "complaint", wrapItemTitles: false, fields: [ {type:"header", defaultValue:"Shipment Complaint Form"}, {name: "trackingNumber", stopOnError: true}, {name: "receiptDate", useTextField: true}, {name: "comment", editorType: "textArea"}, {name: "submitBtn", title: "Submit", type: "button", click: "form.saveData(function(dsResponse, data, dsRequest){isc.logEcho('callback')}, {willHandleError:true})"} ] });
I was expecting the callback would be invoked, due to willHandleError:true, but it isn't.
Is it a bug, or I'm missing something?
Comment