How to Automatically Update your Google Form Options

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 86

  • @BootstrappingTools
    @BootstrappingTools  4 หลายเดือนก่อน

    🎉Are you interested in a Bootstrapping Tools Community? Let me know! forms.gle/4tzvffHiRqS7pVZY6 🎉

  • @fatimahamir5406
    @fatimahamir5406 ปีที่แล้ว +1

    Thank you! I followed every step of the way, and for someone with no coding background, my code worked! and feeling not as lost as when i started your vid. THANK YOU!

  • @daviddrayton3521
    @daviddrayton3521 9 หลายเดือนก่อน +1

    I've been looking for a something like this for ages! Thanks it's so useful

  • @Pool-guy
    @Pool-guy 10 หลายเดือนก่อน +1

    This is exactly what I needed thank you so much for taking the time to make this video

  • @mca4u
    @mca4u ปีที่แล้ว +2

    Thank you so much you video is excellently presented and so well explained. I avoided having to manually enter 104 items in a dropdown list. Well done!

  • @EmmaEffect1
    @EmmaEffect1 ปีที่แล้ว +1

    Great video man!

  • @redforestx7371
    @redforestx7371 ปีที่แล้ว +1

    Bruh you are amazing. Thank you so much!

  • @certificationofficedocumen3970
    @certificationofficedocumen3970 2 ปีที่แล้ว +3

    Great video! Would you have another video or script for dependent dropdowns in GForms? Thanks and more power!

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว +2

      Thanks for reaching out!
      When you say "dependence drop downs" - do you mean where the drop down options change depending on what was chosen in the question before it?

    • @heraayesha1308
      @heraayesha1308 2 ปีที่แล้ว

      @@BootstrappingTools this would be great!

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว +3

      @@heraayesha1308 I don't think that's actually possible using Google Forms since you can't change the options after the page has finished loading. However, you can do it through a custom web app that you can build and host via google apps script. It's quite involved though...
      Another alternative is to set up your Google Form to be multi-paged where the option selected from the first drop down question routes the responder to a different version of the next question which would each have different options. That's not as involved as a web app, but will also take a bunch of time to map out.

  • @rainerrunge2165
    @rainerrunge2165 2 ปีที่แล้ว +1

    This has been super helpful. Thank you

  • @JohnPauloMatabang
    @JohnPauloMatabang ปีที่แล้ว +1

    Thanks for this video, can I do this in multiple google forms?

    • @BootstrappingTools
      @BootstrappingTools  ปีที่แล้ว

      Yup, as long as you have the Google Form IDs, you can have a spreadsheet update the options across all of them. The tedious part will be grabbing the unique question ID from each form so it uploads correctly.

  • @josephasinyo
    @josephasinyo 2 ปีที่แล้ว +1

    Thanks, man. This was super helpful!

  • @lafamillecarrington
    @lafamillecarrington 2 ปีที่แล้ว +1

    Really clear explanation. Thanks.

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว

      Glad it was clear! Sometimes I feel like I just ramble....

  • @pierremoreau7963
    @pierremoreau7963 2 ปีที่แล้ว +1

    Great video, sample explanation and usedfull

  • @moemennasser9242
    @moemennasser9242 2 ปีที่แล้ว +2

    Thanks for the great video!!
    How can I get the form to update automatically whenever a change occurs to the reference sheet?

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว

      Yup! To do that, you could set up an onEdit trigger that watches for changes made to the reference sheet/range.

    • @thaddeusstegall1113
      @thaddeusstegall1113 ปีที่แล้ว

      @@BootstrappingTools Thanks so much for this incredibly helpful video! When I go in to set up an onEdit trigger, I don't get that option. I only get Time-Driven and From calendar. Am I doing it the wrong way? Thank you!

  • @Raza-e-Ellahi
    @Raza-e-Ellahi 4 หลายเดือนก่อน +1

    Nice working bro but...
    Every time I searched for this title but in return these app scripts are helpful but I'm fedup because I'm not technically sound for app scripts, so what is the easy alternative?
    Thanks

    • @BootstrappingTools
      @BootstrappingTools  4 หลายเดือนก่อน

      Hi Raza!
      Yeah... it can be a bit daunting at first. Which part are you getting stuck at?

  • @CRISTINAPONCE-u4b
    @CRISTINAPONCE-u4b 2 หลายเดือนก่อน

    This is exactly what I need! I am having an issue... my worksheet question is "Select incident", I copied your code exactly but didn't change anything to match the question. I am getting an error at line 22 "ReferenceError: interviewer_question is not defined".

  • @Hotganu
    @Hotganu หลายเดือนก่อน

    Thank you so much. I am trying to use one item recorded on to the google sheet to populate another question dropdown. in the same google form. Pl let me know how can I do it.

  • @skyndream211
    @skyndream211 ปีที่แล้ว

    Thank you very much for the tutorial.
    My dropdown menu has more items that setChoiceValues can incorporate. How can I add the rest of the values to the list?

  • @MrDude6913
    @MrDude6913 10 หลายเดือนก่อน

    Great video! Thank you for the help, I ran this code with numbers for a raffle. When the number is chosen, it is removed automatically in the Sheets and replaced with a blank spot. The code doesn't work for me since it states that "Exception: Questions cannot have duplicate choice values." since there are multiple blanks. Any way to fix this or that the code removes the blanks if there are any? Thanks in advance!!

  • @MarcelaLobo-g7f
    @MarcelaLobo-g7f ปีที่แล้ว

    Hi! Amazing video thank you! So my code is up and running but I need to add a trigger whenever the items on the spreadsheet are modified. But I can't seem to find a video for this code! Can you please let me know if you have made a video for this, I found one but it was onEdit for emails not on edit for a google sheet to update the answers on a google form.

  • @sirishayada2208
    @sirishayada2208 ปีที่แล้ว +1

    Hi, It was great and useful. Could you please explain the google form integration with Salesforce?

    • @BootstrappingTools
      @BootstrappingTools  ปีที่แล้ว

      I don't have a salesforce account to test their api on... but based on their docs, it looks like a regular rest api and some of the endpoints use grahpql.
      To hit external apis in apps script - use UrlFetch.fetch(url, options)

  • @jeffb1886
    @jeffb1886 5 หลายเดือนก่อน +1

    THanks for this!! But I have a problem. I'm using 2 Form questions that pull from the same list of choices in column A. I simply "duplicated" question 1 to create question 2. I don't know why, but changes to the list only show up for question 1, not question 2. Is there something I need to add to have it update both question lists?? THanks!

    • @BootstrappingTools
      @BootstrappingTools  5 หลายเดือนก่อน

      Hi Jeff!
      Yeah, that could happen in this case b/c the Question's text is the same. A way around this is with using the question IDs, but you'd have to go through a few steps to get those. Fortunately, you only have to do that one. The other option is to slightly alter the question text so that they're unique between the two questions.

  • @albertdilag3545
    @albertdilag3545 2 ปีที่แล้ว +1

    Good Day bro, My script is working now how would I share it to my co worker? Thank you answering.

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว

      To all others to use it, they'd have to authorize the app. You can create a custom menu option that'll let them do that.
      The alternative is to deploy a private add-on to your Google Workspace account.

  • @one3185
    @one3185 2 ปีที่แล้ว +1

    Hi there,
    Thanks for helping me with such a great video.
    I just typed all your code by watching this video and successful.
    Question: I added a button (picture) on my google sheet and adding function name on that button. So I can update google form after I update my sheet.
    But when I click it gives this error "Script function Populate could not be found".
    I don't have any other script (this is the only 1).
    further Info: whenever I click on Appscript through that sheet, it always open a new script. I don't know if its relevant.
    can you please help.
    Thanks

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว

      Hmm... it sounds like maybe the script you created isn't container-bound to your spreadsheet. To fix this - you can open up apps script from the sheet and then copy in the code. That way, you're definitely using an apps script project that is bound to that specific sheet.

  • @Pool-guy
    @Pool-guy 10 หลายเดือนก่อน +1

    Thanks!

    • @BootstrappingTools
      @BootstrappingTools  9 หลายเดือนก่อน +1

      Aw thanks! I appreciate your support!

  • @PrestonBurns
    @PrestonBurns ปีที่แล้ว +1

    If i had a way to triple like this video I would! Thank you!

  • @jefflim8895
    @jefflim8895 8 หลายเดือนก่อน +1

    Hi what if its a multiple choice not drop down?

    • @BootstrappingTools
      @BootstrappingTools  4 หลายเดือนก่อน

      For a multiple choice question, you'll want to use asMultipleChoiceItem() instead of asListItem(). Then it's a similar process to update the values -- setChoiceValues([]some_array_of_choices)

  • @LoreGonzalezÚtilesEscolares
    @LoreGonzalezÚtilesEscolares 9 หลายเดือนก่อน

    How can I set an Image for a ListItem?, please...

  • @carlosescutia9778
    @carlosescutia9778 ปีที่แล้ว

    Hi, is there a way for the scrips to also be run automatically? for example if I'm using forms for students entering a class but it has a maximum amount of students that can enter, can it automatically remove itself from the forms with this script? or how would I be able to do it

  • @Finance_AWP
    @Finance_AWP ปีที่แล้ว

    HI
    i want to add daily auto update access code to my google form. I have created as a short answer text, which is working. but i have to update the code daily. how i write a script to link a cell from google sheet (the cell i can make to change daily)

  • @albertdilag3545
    @albertdilag3545 2 ปีที่แล้ว +1

    Good Day Bro!
    Could you help me about this one everytime I debug the script it only shows like this
    Execution log
    7:53:21 AM Notice Execution started
    7:51:28 AM Info RegionDropDown - function () { [native code] }
    It shows [native code] instead of number showing.
    Big help is much appreciated.

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว

      Looks like you might be missing the () at the end of your function call.

  • @kpmustafayilmaz
    @kpmustafayilmaz 2 ปีที่แล้ว +1

    Hello. Thank you.
    Help me!
    Google forms SectionHeaderTitle automatic update at the google sheets. Have its Google apps script code?

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว +1

      Hi Mustafa,
      I'm... not sure I understand your question. 😅
      What are you trying to do?

    • @kpmustafayilmaz
      @kpmustafayilmaz 2 ปีที่แล้ว

      Problemi çözdüm. Teşekkür ederim 🙏

  • @nishanmostafa
    @nishanmostafa ปีที่แล้ว

    how can i add answer key automatically from google sheet , like i have 100 question and i have all the answer key in google sheet then how can i automatically set those answer in my form? what will be the code for appscript?

  • @profocelsomarin4123
    @profocelsomarin4123 ปีที่แล้ว

    teria como enquanto um usuário responde um formulário (o formulário não foi concluído) eu obter uma responda de um item especifico? Colocar a resposta do item em uma variável para uso posterior?
    Pergunto isso porque quero fazer um formulário em que as opções de item como lista suspensa ou múltipla escolha fossem atualizados conforme a resposta de um item anterior.

  • @mdhare1515
    @mdhare1515 2 ปีที่แล้ว +1

    hello,
    need your help to create a dependent dropdown in *google form* using data or dependent dropdown menus from a google sheet. please guide me or if possible make a video on it.
    P.S : Don't want to use logic based section shuffle or *form ranger* or *cascade formatting*.
    thanks in advance

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว

      Since a Google Form renders everything at once, doing dynamic field options isn't really possible without using the section based directions.
      If you want to keep your users on a single page and change the options of a field based on a previous field's options, I would suggest creating a web app form which you can do by creating an apps script web app. You'd leverage the doGet(e) simple trigger to present the page, some javascript to alter the field options based on what the user selects via onchange="", and then the doPost(e) simple trigger to handle the form submit.

  • @paolosorgente7097
    @paolosorgente7097 ปีที่แล้ว

    I have a problem with a Google form shared with a team of 50 operators. If we submit responses together, the Google sheet fails to record all the data. I would like to know how to solve this problem.

  • @serhatokan7421
    @serhatokan7421 2 ปีที่แล้ว +2

    hi , it was great and useful, can you share source code please ?

    • @BootstrappingTools
      @BootstrappingTools  ปีที่แล้ว

      This one's pretty old - I'll make a new video on this.

  • @imamidevz9245
    @imamidevz9245 ปีที่แล้ว

    Could you please provide the script. Not so techy here but I'm following your video.

  • @sanmayjain6343
    @sanmayjain6343 2 ปีที่แล้ว +1

    Great Tutorial Man !!! Btw I had another problem with my google forms. I have a different spreadsheet which contains all the names of our clients in a table. I copied that data onto the drop-down list in the google form. I wanted it so that when anyone adds another name to the table in the spreadsheet, it dynamically got updated in my google forms. Can you please HELP ME ????

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว +1

      Hi Sanmay, thanks for reaching out!
      That sounds very similar to what we did in the video. If you use getRange().getValues() against the sheet that you're storing the client names, you should be able to send it up to your google form using the asListItem().setChoiceValues() functions.
      Give that a try. If you run into any issues, feel free to reach out and I'll be happy to help you debug your code. Good luck!

    • @rainerrunge2165
      @rainerrunge2165 2 ปีที่แล้ว +1

      Add an on change trigger to the spreadsheet to execute the sync function

  • @soominjo8475
    @soominjo8475 7 หลายเดือนก่อน

    감사합니다

  • @pag3160
    @pag3160 8 หลายเดือนก่อน +1

    Hey Dude Can you help Me I need your Help ?

  • @pascalrobert2934
    @pascalrobert2934 2 ปีที่แล้ว

    Hello.
    It sounds exactly like what I want to do.
    However, being a dumb user, I tried to follow "letter by letter" what you showed, and I bump into an answer "items is not a function".
    Please help.

    • @pascalrobert2934
      @pascalrobert2934 2 ปีที่แล้ว

      Forget my question, I typed ( instead of [. Thank-you.

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว

      Haha, I can't count how many times I made little typos that I spent hours trying to debug and fix. Happens to all of us - usually we can laugh about it later on :)

    • @pascalrobert2934
      @pascalrobert2934 2 ปีที่แล้ว +1

      @@BootstrappingTools Another question: I understand that the form will be updated when someone runs the script. Is it possible to have the form updated each time it is opened? So that people using the form will always have the updated list.
      I hope my question is clear.

    • @BootstrappingTools
      @BootstrappingTools  2 ปีที่แล้ว

      @@pascalrobert2934 Unfortunately, the onOpen trigger is a bit restricted in what it can do - it's auth mode is LIMITED based on Google's rules.
      There's a couple of ways around this though:
      1. Have a script that updates it whenever someone updates the options in a google sheet via the onEdit trigger
      2. Create a time-based trigger that constantly updates the form options on a set schedule (e.g. every day, hour, 30min, etc)

    • @pascalrobert2934
      @pascalrobert2934 2 ปีที่แล้ว +1

      @@BootstrappingTools N°2 sounds like an excellent idea. Thank-you. A daily update would be great. Any idea on how to do that? As mentioned earlier, I am a dumb user, having no skill in google programming. I don't even know what a trigger is (even though I understand the meaning). Thank-you.

  • @socacloud
    @socacloud ปีที่แล้ว

    Great video! I have no idea why I'm getting the error code (ReferenceError: organization is not defined setOrganizationDropdown @ Code.gs:18). I reviewed the code several times for typos, but nothing worked. Can you offer any suggestions? Thank you!