Default trigger

Normally you don’t have to do anything to have the feedback service triggered. The initialization process (adspFeedback.initialize()) installs a call-to-action tab on a page which, when clicked, will bring up the feedback modal. However, some applications require more control over when and where the modal gets opened. For example, a small, simple application may want the feedback widget opened as soon as the end-user clicks on a submit button, to help encourage feedback submissions.

Application triggers

Creating your own trigger is easy enough. Both the call-to-action tab and a site’s Microsite header use a simple function call that is exposed in the code for the feedback widget. You simply have to call

adspFeedback.openFeedbackForm();

as part of an event handler that gets invoked through the desired user action.