I trust you are doing fine
Can you please give me more information of the below :
Example: I have a picture selection as follows
1- image 1
2- image 2
3- image 3
4- image 4
Suppose i have an artwork, and I want to add a link to it , so that when the user click on the link , it auto select the image 1 in the typeform , is it possible to do so ?
Thank you in advance
Best answer by mathioView original
@Heman Thanks for stopping by! I’m afraid I can’t think of a solution offhand that would automatically select an image, but do you mind sharing a bit more about your workflow/form? This might help inspire some other ideas!
I think this is might be more technical challenging but it should be doable.
Lets consider this form: https://form.typeform.com/to/e5Oy218c
When building the form, I will set custom question reference for my first question (Settings → For Developers → Block references), in my case I named it picture.
Then I have to append a hash to the URL in the following format:
In my case it will be:
I dont think you can find the answer reference in the builder nor change it (or can you? ), but you can look into the form definition in JSON format - for my form it is here (you can use your own form id instead of e5Oy218c):
You can find reference for each answer (picture) there at fields.0.properties.choices.*.ref
For the form above you can use the following links to prefill answer:
If the picture choice question accepts multiple answers (like the form above) the form will not automatically progress to next question. However you can prefill multiple answers by separating them with a coma, eg:
My question at this point is that it appears the images are all uploaded into the gallery at Typeform - is there an option to point to images in other locations ie a corporate website rather than requiring them to load into the Gallery??
@mathio , Thank you very much for your explanation, i will try it and will let you informed you afterwards.
I appreciate that. I think it would be nice to have but i can appreciate the formatting ‘nightmare’ it would cause the platform in terms of presentation within the question ‘pic size’ …
I need to pre-fill more than one answer in a multiple choice question. The #answers-<question-reference>=<answer-reference> approach is very useful and I am glad I discovered it here in the community. I have this to use this approach to pre-fill multiple choice questions but did not succeed so far. Any suggestions?
,to separate multiple refs if you have a multiple choice question with multiple selection enabled.
I updated my form above to allow multiple selection. This link will preselect 2 choices (but will not continue to next question since respondents might want to select more):
Thank you for the quick response. I have tested it on my own form and it worked!
Glad to hear this worked,
@Asle ! Let us know if we can help with anything else.
Any idea how can we populate first name text field?
@jasonbourne are you wanting to populate the name from something like an email marketing tool? If so this option might help.
I have a typeform which patient fills. It has the data like first name, last name, email. Patient has to fill it in every few weeks. Since user first name last, email will not change so I want to prepopulate the form so he will not fill same thing again and again. Is it possible?
@jasonbourne this should be possible using hidden fields 😊
Hidden fields are good to populate the labels. Can I update a text field? Check image.
the workaround at the moment is to use logic rules on hidden fields to start the form:
that way you can use the same form for the complete fill in or you can have the values added to the url string (you mention first name, last name and email...) and display them on pages and have them submitted along with the data as the hidden fields are available as data elements in the form.
hope that makes sense and will help a little