Forum Discussion

Abigail_'s avatar
Abigail_
Community Member
12 days ago

Storyline - Survey: Which Word

Anyone got ideas how to get the selected textbox using javascript ?

I've tried the "object dragged over" trigger, i can print the object being dragged over to the dropspot but when I click submit, it doesn't detect my answer.

 

I need to send a customized message to my system and I need the learner's answer with it.

  • Nedim's avatar
    Nedim
    Community Member

    I'm sure you've noticed that using a drag-and-drop event or action involving draggable text boxes as a trigger in this type of interaction causes it to behave unexpectedly. This is could be a bug or an intentional design to prevent manipulation of draggable elements, but this is the closest I could get to addressing your inquiry. See below for the JavaScript solution—though I’m not sure if this is exactly what you’re looking for.

    • Abigail_'s avatar
      Abigail_
      Community Member

      im using the one in the built in survey question