Hi,I am trying to edit the font used in this code: jQuery("#"+this.questionId+" td.c1:first").html("Proposal Priority")I tried putting ".css(font-size: 16px)" but the error says "Invalid javascript! You cannot save until you fix all errors: Unexpected token ILLEGAL."Could someone please help me with fixing the code OR how to edit the font in that code?Thanks in advance!
Hello everyone, I am trying to add a pop-up screen that shows the results of participants' response before they move on to the next page.In my current design, participants will see an 'empty text box' where they can put a number ranging from 0 to 100. Each number represents a number of assets that affect their investment decisions. So, I want to add a pop-up screen that shows investment results as a consequence of the number they chose, such as, "You invested XX assets. As a result, your earnings will be $YY (XX * $0.ZZ). Please click Next to continue. If you want to change the answer, click cancel."Another option could be showing the result of the investment decision (the same as the above sentence) on the same screens as participants put in their numbers, without having to put any numbers in the pop-up screen.I am not sure whether I should use the HTML template or if there could be any easier ways to do so.I would appreciate any tips you might have. Thanks in advance for your help!
Hello All,I am trying to compare participant's input data, compare it against the number that is randomly generated, and show different messages depending on the size.I have created a JS code that looks as below but I can't really find a reason why it does not work. I have tried it so many different ways but I keep getting an error message that there is an unexpected token {.Qualtrics.SurveyEngine.addOnReady(function(){ if (${e://Field/RandomAssetNo} > ${q://QID130/ChoiceTextEntryValue}) { "Your earnings will be 0";} else { "Your earnings will be (${e://FieldRandomAssetNo - ${q://QID130/ChoiceTextEntryValue)"; });My two questions would be:(1) Can I bring participant inputted values and randomly generated number like above?(2) What else wrong am I doing with the code there?I would appreciate any of your help!Thanks!
Hello all,I am a pure novice in using JS and tried creating JS code with an embedded data. I am not sure why the javascript code itself is not showing on the survey page but get a blank page.The code looks as below:However, when I preview my survey, I get empty page as below and I am not sure why.Does anyone have an idea?Thanks in advance for your thoughts!BestTed
Already have an account? Login
Enter your 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.