I'm trying to do some fancy DCT-like functionality within a custom_instantiation form for a WFM and I'm not sure what I'm trying to do is allowed. I have a radio button with three options, and depending which option the user selects, I want to display different information on the instantiation form. In order to accomplish this I have an "onFormInit" event handler, which calls an init() function. Which works. Within the init() funtion, I am trying to do this:
IWEventRegistry.addItemHandler("/Config/ID1410889736211","onItemChange", fnToggleSite());
It doesn't seem to like that. When I click on a radio button, I get a Javascript error that it is trying to find the function dcapi.js and it can't find it. URIL https://interwovendev.foo.com/iw-cc/datacapture/dcapi.js
Is it even possible to do what I'm trying to do in a custom_instantiation form? I'll try and attach my cfg file