How do I add JavaScript to a question via an API POST statement? I can add HTML fine, but I don't know how to set (or get) the JavaScript other than doing it manually for each question. I searched here, StackOverflow, and Google; I found plenty about working with JavaScript manually, but I couldn't locate anything about doing this via the API.If it helps, below is a sample of my questionDef in Python. Each question ties to an ID, and the JavaScript creates the actual question text based on that ID (e.g., this one is question #486). questionDef = { "Configuration": { "QuestionDescriptionOption": "UseText" }, "DataExportTag": "Ques486Stem", "DefaultChoices": False, "QuestionDescription":"lbl_q486z-stem", "QuestionText": 'q486z-stem', "QuestionType": "TE", "Selector": "SL"}I'm new to the API environment, so I apologize if I'm missing something obvious.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.