1

I have created a simple Google Form with two multiple choice answers (Yes and No). Image below.

The form works fine when I select an answer then click the submit button.

I'm wondering if it's possible to submit the form immediately when an option is selected? Then refresh the page.

I've been reading about triggers here but not sure where to start, or if it's even possible.

enter image description here

Google Forms is my only option at current, I know this is possible via other methods.

Any advice is appreciated.

TheOrdinaryGeek
  • 2,273
  • 5
  • 21
  • 47
  • Not sure if this is an option for you, but if you use [toPrefilledUrl()](https://developers.google.com/apps-script/reference/forms/form-response#toPrefilledUrl()) to get your `yes` and `no` link it is possible. [I have done](https://stackoverflow.com/questions/43852959/send-pre-filled-google-form-via-email/45046883#450468830) something similar to this for receiving responses to Google Forms from an email type link – random-parts Dec 06 '17 at 14:53

1 Answers1

0

I'm wondering if it's possible to submit the form immediately when an option is selected? Then refresh the page.

No, it's not possible. The only trigger that works on the form respondent view is on form submit.

The workaround is to create your own form. If you want to work with Google Apps Script, you should use the HTML Service.

Rubén
  • 34,714
  • 9
  • 70
  • 166
  • Isn't it possible to submit the form on option selected event if we use JS frameworks? (I know OP is not asking about any frameworks, I'm just curious) – Parag Jadhav Dec 07 '17 at 10:52
  • @ParagJadhav That is a follow up question (: Please post it as a new question rather than as a comment. – Rubén Dec 07 '17 at 13:09