I would not use these functions. Years ago QuickBase's form submission was a lot simpler and the
DoSave() function was very prominent in the source code. Today the form is a lot more complicated and there other services provided by the form submission other than simply submitting the for data. Calling
DoSave() or other QuickBase authored functions may well short circuit some of these features.
The better solution is to arrange for your script to
emulate or
intercept user input. This way you can gain control over the form without modifying QuickBase's authored code.
var originalClickHandler = $("#saveButton").data("events").click[0].handler;
$("#saveButton").unbind("click");
$("#saveButton").click(function() {
//your code here
//conditionally call QuickBase's originalClickHandler();
//originalClickHandler();
});