Google Forms - Instant Conditional Branching

I am writing a survey in Google Forms (part of Google Docs), and I notice that there are built-in scripting capabilities. I wanted to know whether it was possible to immediately show and hide questions, based on the choice of markers from the list, but without using the page break method that you are going to use for conditional branching. We planned many choices that would take up an excessive number of pages.

By hiding and showing various <div></div> , I hope you can update the form instantly. For example, you can get the form and submit:

What is your local branch? () London, () Bristol, () Manchester

Depending on which one you selected, the question will immediately be hidden below, regarding the branch you have chosen, but which would not be relevant if asked about others.

+6
source share
3 answers

It looks like there is a way in Google Docs Forms that will allow you to achieve your desired behavior.

One job should be to use Google Docs as a "database" and place the form in a different place, this will allow you to change the way the form is displayed and with jQuery you can show / hide questions that apply to your users.

For more information see http://www.2webvideo.com/blog/customizing-google-docs-form-for-email-validation-with-free-jquery-script - one of the problems with this approach is that the form is no longer hosted by Google, you will need to place the html page with the form in another place.

+4
source

Unfortunately, I do not understand how this is possible.

this will require the submission of information to be done at the end of the form, which also makes everything obey, making further editing impossible.

There is one point of data capture, and, being at the end, it makes it impossible to do anything useful with hidden questions (they can be there, but not edited).

It may not be the answer you are looking for, but I see it

this community, so if I'm wrong, feel free to edit my post for accuracy, just don’t post comments in it.

0
source

I tried to achieve the same thing in the past, unfortunately, this is not entirely possible. I got this right for the reservation form.

Suppose the maximum number of slots is 2, as soon as two people have booked a slot, then the value should change to "This session is fully booked."

I will say, although it was possible, it was not a very good system. Many things can go wrong, and all due to the limitations of Google forms.

As recommended above, I suggest looking at the free form to complete what you are trying to do. Google Forms should only be used for simple data capture.

-

PS:

I was able to achieve the above using the functions of Google Sheets to credit the totals.

0
source

Source: https://habr.com/ru/post/914991/


All Articles