Hello all,
I want to create a constant sum question where the first entry is a value piped in from embedded data (pretty straightforward) BUT I don't want to allow the survey taker to edit this value, only the other text entry portions of the constant sum question.
Any ideas our there on how to do this?
A
Hello @Akdashboard ,
Paste the below code in the js(OnReady) of constant sum question:
`jQuery("#"+this.questionId+" .InputText:first").attr("readonly",true);`
Paste the below code in the js(OnReady) of constant sum question:
`jQuery("#"+this.questionId+" .InputText:first").attr("readonly",true);`
> @Shashi said:
> Hello @Akdashboard ,
>
> Paste the below code in the js(OnReady) of constant sum question:
>
> `jQuery("#"+this.questionId+" .InputText:first").attr("readonly",true);`
That didn't seem to work...
Please ignore the horrible formatting: https://bcbssc.az1.qualtrics.com/jfe/preview/SV_6zZ0LgfB46RW3LD/BL_3lPGcJYCIf8wMPr?Q_SurveyVersionID=current
!
> Hello @Akdashboard ,
>
> Paste the below code in the js(OnReady) of constant sum question:
>
> `jQuery("#"+this.questionId+" .InputText:first").attr("readonly",true);`
That didn't seem to work...
Please ignore the horrible formatting: https://bcbssc.az1.qualtrics.com/jfe/preview/SV_6zZ0LgfB46RW3LD/BL_3lPGcJYCIf8wMPr?Q_SurveyVersionID=current
!
Leave a Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.