Custom Controls
Custom controls allow completely customized styling to be applied to controls on Intelligent Advisor interview screens.
Note: In Latest Version Interviews, custom controls are only supported for label controls. In August 2016 version interviews, custom controls are supported for text input controls and label controls. To customize the styling and behavior of any control type, use interview extensions instead.
For a policy modeler to use a custom control on an interview screen, a custom control handler must be provided. Programming expertise is needed to create the custom control handler that provides dynamic HTML content for a custom control. Each custom control handler returns a HTML snippet that will be included within the Intelligent Advisor screen at the point where the control appears. A custom control handler is passed the current interview session data, and can choose to use some, none or all of that data in deciding how to render its response.
To debug a custom control, Chrome's DevTools can be used with the Debugger by clicking F12.
Tip: There is an alternate version of the Emergency Response example project that uses custom controls.