Edit: I have solved it using localstorage to pass JSON data from one JS to another! xD
In my suvrey, participants will receive dynamic responses from an external server based on their answers to a question in a block (B1). I have written a custom JS code that works fine and receives server responses as JSON objects.
Now, based on server responses, participants will be shown some questions in the next block (B2). In fact, the values in JSON object will appear in the questions. How can I pass a JSON object from the JS code of a que in one block (B1) to a question in another block (B2)?
Be the first to reply!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.