Hello,
Is there a feature or code to add a hint / watermark to open text response fields within a survey? Example below.
Thanks,
Joe
!
Page 1 / 1
@Joe_Thompson , when you right click on Open end text box in question you will get option to "Add default choices" when you add that and preview it will appear as water mark and respondent can enter answer replacing it there.
Another way is to use below code in descriptive text:
!
!
@bansalpeeyush29 Thanks for the help. Is there a way to have the watermark/hint go away as soon as they start typing? Instead of having to delete the preview and then provide an answer. Usually I've seen the preview as a grayed out text and it gets replaced by darker/black text as soon as you enter a response/email/phone number/etc.
Thanks,
Joe
Thanks,
Joe
What you are looking for is the `placeholder` attribute.
Here is a gist with some JavaScript that will work for any Text Entry style question: https://gist.github.com/mattbloomfield/ff4609bd60d697d1b1c7f617d046c8e1
Working Example: https://qualtricssfi.az1.qualtrics.com/jfe/preview/SV_4ZTCCfeAVOb7Anr?Q_SurveyVersionID=current&Q_CHL=preview
I've attached the .qsf for your review.
Here is a gist with some JavaScript that will work for any Text Entry style question: https://gist.github.com/mattbloomfield/ff4609bd60d697d1b1c7f617d046c8e1
Working Example: https://qualtricssfi.az1.qualtrics.com/jfe/preview/SV_4ZTCCfeAVOb7Anr?Q_SurveyVersionID=current&Q_CHL=preview
I've attached the .qsf for your review.
@mattyb513 That's what I was looking for! Thank you for the prompt assist!
@Joe_Thompson - did you ever get a solution to help with the hint going away as the user types? Thanks!
Where are you supposed to type the text? It is not working for me. I have put it in the box, and then went to default choices... does this not work in a text box in a matrix table?
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.