Skip to main content
helenr70150581
Participant
August 13, 2015
Question

Drop Down Widget Focus Events

  • August 13, 2015
  • 1 reply
  • 169 views

I'm using Captivate 8 and the Drop Down Learning Interaction on a Responsive Design project publishing in HTML5. I want to detect when the Drop Down has been accessed so that I can query the result and proceed depending on what it is. There is however no Lost Focus event associated with the widget (or any event that I can see). I've tried putting a click box on the same place as the widget (both above and below) but both objects never work together in either of these situations. Does anyone know how I can get around this problem?

Message was edited by: Helen Richmond I have found a solution to this. By using the Common JS Interface and placing a CPAPI_VARIABLEVALUECHANGED event listener onto the variable that the Drop Down uses I can effectively detect a change event on the drop down. Although this only fires when the variable changes it's enough to do what I need.

    This topic has been closed for replies.

    1 reply

    RodWard
    Community Expert
    Community Expert
    August 14, 2015

    How good are you with JavaScript?  That would be your best option.