Skip to main content
Participant
September 20, 2023
Question

For input fields CPAPI_VARIABLEVALUECHANGED event doesn't appear to dispatch

  • September 20, 2023
  • 1 reply
  • 166 views

We’ve been using Captivate Classic’s Common Javascript interface for years now, mostly to capture variable values and put them in our own custom datastore. We are running into an issue with new Captivate for input fields. It doesn’t appear that the event "CPAPI_VARIABLEVALUECHANGED" is firing for input fields, or at least we have not found a way to configure the field and/or interactions in such a way to make that occur.

 

In Classic captivate this just worked with text boxes, and in new Captivate radio groups, checkbox and dropdown work great.

With the $$varName$$ syntax on the slide we can see that new Captivate knows what the variable value is, however it doesn’t seem to dispatch the variable value changed event.


We’re wondering if anyone else has run into this issue, and if so how was it resolved?

Thank you


    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    September 21, 2023

    I don't think that so useful JS interface is valid for the new version 12.  Take some time to watch this comment of the genius JS guru Tristan Ward:

    https://www.youtube.com/watch?v=csGCXwnkpTM