Is there a way to disable the Signature question that has already been signed? Use case is a retake link scenario where the question will be visible again but we do not want it to be active. I tried changing the attribute to readonly or disabled, but perhaps I am not properly referring to the element ID. Or maybe there's another way? Thank you!
Page 1 / 1
Use the below code, which will disable the signature question only if it is retake link:
var qid = this.questionId;
if( "${e://Field/Q_R}" != "" )
jQuery("#"+qid+" .QuestionBody").css("pointer-events","none");
You could look at disabling pointer-events.
JS:
this.getQuestionContainer().style.pointerEvents = "none"
Question HTML:
Replace *** with the question ID.
This will disable any kind of clicking on the question.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.