Dynamic values on question | Community
Skip to main content
Answered

Dynamic values on question

  • October 23, 2022
  • 3 replies
  • 745 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
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15033 replies
  • Answer
  • October 24, 2022

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
  • 1 reply
  • October 25, 2022

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
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15033 replies
  • October 25, 2022

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. 


Reply