Hello! I've been happy with using flatpickr for questions in my surveys with this guidance (https://community.qualtrics.com/XMcommunity/discussion/8850/embedding-flatpickr-into-the-survey), and want to do the same thing for a the secondary field in an authenticator. The first field is the ExternalDataReference, but the second is a birthdate, and I want to limit data entry errors pertaining to date format. Unfortunately, my Javascript is limited.
Where would I put the script to reference the authenticator field?
erinkru
You can do it by making a separate block and include 1 question for the Date. Ask the date in the same manner as you are doing in other questions. The below setup should help you set it up
Hope it helps!
Thank you erinkru!! You've just asked about the very thing I'm trying to work out as well!
Deepak - appreciate your input. I can see that working when you want the respondent to select a date value from a question and then pre-fill that value into an Authenticator field. However what I suspect erinkru is seeking - much like myself - is to directly customise the Authenticator field so that it leverages Flatpickr for data entry. Basically, if the Authenticator screen is the first thing that a respondent sees, how could we directly modify the Authenticator field such that it leverages Flatpickr to manage data entry of a date value?
Thanks in advance.
Cheers,
Cameron
erinkru , CamM
If you need to modify the authenticator question you can include the entire below code in the Header>Source. Here I have included it for the first field if you want to change it to second input field change to eq(1).
Hope it helps!
This works, thank you! I actually used both solutions. The first gives me a little more control over what they see initially, but there are still guard rails on the date field if they enter the wrong information and are directed to the regular authenticator.
Thanks Deepak - works like a dream!
Thanks again erinkru for posting this - honestly, the timing of your question couldn't have been more ideal
AmaraW
Can you please help here as the person is unable to accept?
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.