Embedded Data / store a variable

Home Forums Support Embedded Data / store a variable

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8916
    Rahel
    Guest

    Hi,

    I would be very grateful if anyone could help me with storing a generated variable.

    What I have in the JS is the following:

    QRTE.Stimulus({
    id: ‘SelectRandomNumber1’,
    onShowFn: function ()
    {
    var randomNumber1 = Math.random();
    QRTE.Stimulus.setEmbeddedData(“RandomNumber1”,randomNumber1);
    }
    });

    Sadly, this does not really work. Could anyone help? Thank you very much in advance!

Viewing 1 post (of 1 total)
  • The forum ‘Support’ is closed to new topics and replies.