Field Update By Changing Another Field
Summary
Update Interview FieldContent
Hi,
I have a requirement in Policy Modeling while changing Postcode value I have to change CRM_ID value. In this below code I can only edit the value of Postcode. I can't change the value of CRM_ID.
In Modeling for both fields name property added (Postcode & CRM_ID).
Can anyone please help me to solve this issue.
Thanks,
Kalaimagal Eswaran
Version
19BCode Snippet
OraclePolicyAutomation.AddExtension({
customInput: function (control, interview) {
if (control.getProperty("name") == "Postcode") {
return {
mount: function (el) {
//on change function goes here
interview.setInputValue("CRM_ID", 30);
},
update: function (el) {
},
unmount: function (el) {
console.log("unmount");
}
}
}
}
}); 0