This function allows you to trigger a function of your own when a form field value has been changed.
Parameters
- docuViewareID
- The identifier for the DocuVieware™ instance.
- callback
- The function you want to execute on event.
- The callback provides an argument having a prototype { id, pageNo}.
- - id specifies the form field id.
- - pageNo is the page number the form field that has been changed is on.
- The callback provides an argument having a prototype { id, pageNo}.
Return Value
1 if error.
Example of usage
This JavaScript makes sure the DocuVieware control is properly loaded and initialized and then subscribes to the event on load.