Best answer by Anonymous
View originalShow/hide button
I would like to add a show/hide button after a survey question or within the question itself. The show button should link to a document that could embed within Qualtrics when opened or open in another page. Information contained in the document will assist the user in completing the survey question and possibly returning to update their responses based on information provided. Hide button should close document.!
A
> @Gail said:
> Hoping to have button (click for additional information - pdf doc) and close to close that doc.
> An accordion that could collapse would work as well. Looking to have this open in same page directly below question.
>
> Thank you for any help you can provide!!!
This requirement can be achieved with this post
> Hoping to have button (click for additional information - pdf doc) and close to close that doc.
> An accordion that could collapse would work as well. Looking to have this open in same page directly below question.
>
> Thank you for any help you can provide!!!
This requirement can be achieved with this post
Hoping to have button (click for additional information - pdf doc) and close to close that doc.
An accordion that could collapse would work as well. Looking to have this open in same page directly below question.
Thank you for any help you can provide!!!
An accordion that could collapse would work as well. Looking to have this open in same page directly below question.
Thank you for any help you can provide!!!
A
Hello @Gail ,
Assuming you have your description URL
Paste the below code in the js(OnReady) of the question
var element="<br><button value='Description' name='Description' ><a style='text-decoration: none; color:black' href='DOCUMENT_URL' target='_blank'>Description</a></button>"
jQuery("#"+this.questionId+" .QuestionText").append(element);
OR
Please follow this post
Assuming you have your description URL
Paste the below code in the js(OnReady) of the question
var element="<br><button value='Description' name='Description' ><a style='text-decoration: none; color:black' href='DOCUMENT_URL' target='_blank'>Description</a></button>"
jQuery("#"+this.questionId+" .QuestionText").append(element);
OR
Please follow this post
Leave a Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.