Hi all,Can anyone suggests me as how to retreive whether the DCT when opened is being called as newDCR or editDCR? As the content manager can call FIle >> New Form Entry and can also edit the DCR through workflow tasks.What i need is to detect the value and as per that some fields of the DCT are to put as read only.All suggestion are welcome to capture the mode of opening a DCR.
... it is not working the way it is required as complete functionality...
if(documents.forms['dataform'].iw_wizard_bean.currentStep.value == "new_dcr"){ alert("New Data Capture Form");}if(documents.forms['dataform'].iw_wizard_bean.currentStep.value == "edit_dcr"){ alert("Editing Existing DCR");}