Auto-fill or Autocomplete based on previous answer

Jacob Phillips asked on January 14, 2016 13:52

version: 7.0.57

I cannot locate the option or the advanced setting that would allow auto-fill or auto-completion based on a user's previous answer.

Here is an example:

  1. Do you drive your own vehicle to work? Yes - No
  2. Do you walk to work? Yes - No

If a user selects yes for question number (1), I would like question number (2) to auto-fill or auto-complete an answer of (No).

Is this possible, and if so how?

Thank you. Jake

Recent Answers


Juraj Ondrus answered on January 14, 2016 14:03

Hi,
Have you tried using the depending fields option? (KB article).

Another option would be creating custom form control that would contain both fields and then in the code behind you will be able to change the selection of the second field based on what is selected in the first one.

0 votesVote for this answer Mark as a Correct answer

Jacob Phillips answered on January 14, 2016 17:41

Thank you for your response Juraj. Per your recommendation I did try using the depending fields; however, I still need the second question to be able to change automatically based on the user's first response.

I am not familiar with custom controls, but I am open to any suggestions.

Thank you.

0 votesVote for this answer Mark as a Correct answer

Laura Frese answered on January 14, 2016 18:22 (last edited on January 14, 2016 18:22)

You could also whip up a simple solution using javascript/jQuery

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.