var dcrName = IWDCRInfo.getDCRName(); if (dcrName) { //skip things.........
IWEventRegistry.addFormHandler("onFormInit", init);
TS 6.5 sp2. I just want to make sure that my onItemChnage on a field will work always. I have this set on a field in way that when the field changes an other field is set ( simple example is setting state when city is selected).My problem here is that this function is not being triggered for an already existing DCR. No matter i change the field and tab out of it. Nothing changes.and its annoying me. Can you please tell me what is wrong here?Thanks
IWEventRegistry.addFormHandler("onFormInit",init);function init() { IWEventRegistry.addItemHandler("/pressrelease/main/Location", "onItemChange", RestrictMe); RestrictMe(IWDatacapture.getItem("/pressrelease/main/Location"); }...