I want to use/display the TaskID in the Task(form) itself.
It is not possible to do this via initializationcode (Process.TaskID=Caller.TaskID) because the value is 0 at the time of initialization.
Is there a way/function/variable etc. to get it?
UPDATE:
I've got a dirty solution..
getRoid : function(temp) {
var ROIDurl = window.location.search;
var ROIDurl = ROIDurl.replace("?ROID=", "");
var TaskID = ROIDurl.replace("&page=replytask", "");
ca_pam_setTextFieldValue('Form.taskidroid', TaskID);
return TaskID;
}
ca_pam_setTextFieldValue is only able to set Values of a textfield not HTML field
Dear people at CA is there a way to set HTML field values from inside the form script?