Skip to main content
Answered

Dynamic values on question

  • Oct 23, 2022 9:21 PM UTC
  • 3 replies
  • 861 views

Can I add dynamic values to the question and/or answers?

Example Question: Are you able to Volunteer? {slotNumber} slots available.
- Where {slotNumber} is an int that changes as people fill up the form.


This slotNumber can either be provided by the JS fetch call to some service (api call), or connected to a googlesheet that feeds these information

Best answer by Liz

Hi @BlakVindi You can use our recall information feature to change what information is shown in the question, but it’s not possible to recall this data from an outside source. This would either need to come from a variable or an answer to a previous question. 

View original

3 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Answer
  • Oct 24, 2022 1:59 PM UTC

Hi @BlakVindi You can use our recall information feature to change what information is shown in the question, but it’s not possible to recall this data from an outside source. This would either need to come from a variable or an answer to a previous question. 


  • Author
  • Explorer
  • Oct 25, 2022 12:38 AM UTC

Thanks for the response @Liz, would you know if custom code (Javascript) can be included with a form? if so, can I access JS defined values, and use them on the form? 


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Oct 25, 2022 4:21 PM UTC

Hi @BlakVindi It’s not possible to add custom code to the forms. You would need to pre-set all of the information onto the form before the respondent completes it.