how will I know if the user click finish and do IWDatacapture.save()please advise..thanks
function saveHandler(button) {switch (button) {case IWDatacapture.SAVE_BUTTON:case IWDatacapture.SAVEAS_BUTTON:case IWDatacapture.SAVECLOSE_BUTTON:// User clicked 'Save', 'Save As' or 'Finish'...break;case IWDatacapture.PREVIEW_BUTTON:case IWDatacapture.GENERATE_BUTTON:// User clicked 'Preview' or 'Generate'...break;}}
In this specific case we have three replicants that consist of a (prefilled) checkbox each. So there's no need to fill in any values.But I just checked and the same behaviour applies for more complex replicants (containing text fields and textareas): if I only click the "+" and add one of these replicants, do not fill out any of its elements but click the "Finish" button, the workflow starts without the DCR being saved.