Google Web App - Create Dependent Drop Down

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

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

  • @tanveerhussain3881
    @tanveerhussain3881 3 ปีที่แล้ว

    World's Best Teacher
    Best Quality
    Learn Easy and Understand
    I Love And Like All Video

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

    bro u r the best , u made every thing easy and u got me all what i was looking for
    i really dont know how to thank u

    • @prasathsmart4091
      @prasathsmart4091 3 ปีที่แล้ว

      I have one doubt bro why after submitting the answer did not show in Google sheets pls tell me bro

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

    Fabulous work done by you
    Thanks a lot 😄😄😄

  • @arshadraza1891
    @arshadraza1891 3 ปีที่แล้ว

    Bro, you are great, what a wonderful way to make dependent dropdown, Can you plz guide how to add more than one dependent dropdown .

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

    Very cool project. would the search look for a database of 3,000 data? Thanks for sharing your knowledge.

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

    Tried to copy the code but I'm getting an error Cannot read property 'toString' of undefined. Why is that? And can we make the Fruit also unique in case there's a duplicate entry?

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

    amazing explaination! keep it up!

  • @rafisir2679
    @rafisir2679 3 ปีที่แล้ว

    Sir your videos amazing.Sir Please create add or remove multiple input fields in google script

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

    Hi
    Thanks for this! Very good.
    I am actually looking for to do this with a dropdown box instead of a select. I am able to get the select box, however I do not know the javascript code to add the selected option into the google sheets. Thanks

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

    Hi !
    Thanks for the video.
    Can we insert scroll button like to do next value for drop down list by app script?
    Please help.
    Thank you in advance.

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

    Fantastic work thanks a lot 😊😊😊

  • @danielcir8675
    @danielcir8675 3 ปีที่แล้ว

    Hi Curt, all your videos amazing, one suggestion if I may, could you please upload them in 1080P? Thank you, sir!

    • @CodeWithCurt
      @CodeWithCurt  3 ปีที่แล้ว

      Thanks for the suggestion. I will look into it.

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

    Google Apps Script Code in Video Below:
    function doGet(e) {
    var htmlOutput = HtmlService.createTemplateFromFile('DependentSelect');
    var colors = getColors();
    htmlOutput.message = '';
    htmlOutput.colors = colors;
    return htmlOutput.evaluate();
    }
    function doPost(e) {

    Logger.log(JSON.stringify(e));

    var name = e.parameters.name.toString();
    var color = e.parameters.color.toString();
    var fruit = e.parameters.fruit.toString();

    AddRecord(name, color, fruit);

    var htmlOutput = HtmlService.createTemplateFromFile('DependentSelect');
    var colors = getColors();
    htmlOutput.message = 'Record Added';
    htmlOutput.colors = colors;
    return htmlOutput.evaluate();

    }
    function getColors() {
    var ss= SpreadsheetApp.getActiveSpreadsheet();
    var lovSheet = ss.getSheetByName("LOV");
    var getLastRow = lovSheet.getLastRow();
    var return_array = [];
    for(var i = 2; i

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

    Hi thank you tbe code is easy to understand , how to add another level to get the rest of the cells in that row

  • @cheslg6809
    @cheslg6809 3 ปีที่แล้ว

    How do I send confidential data (e.g address, bank details) from web app to google sheet? Is there a line of code I need to change?
    Also can you do tutorial about successhandler for select options instead of using long 'for' scriplets on html as stated in best practices of gs for web apps? Thanks

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

    If editing to have a list of 3 levels, what to do? Can you recommend it? Thanks

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

    keren mama mu pasti bangga!

  • @MLGoldhighlights00
    @MLGoldhighlights00 3 ปีที่แล้ว

    Can this be done in excel online forms? Or does it only work with google sheets

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

    How do include the email of the person who answered it?

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

    if using three dependent drop down then which code using

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

    hello,
    need your help to create a dependent dropdown in *google form* in 1 single section,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

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

    how to get the dropdown list data in alphabetical order please any help for this
    in the given sheet it was started with red even after giving in alphabetical order also it was resulting unevenly in order so, if any one finds the solution please help me in this google scripting

  • @filibertodurangarcia1975
    @filibertodurangarcia1975 3 ปีที่แล้ว

    Can we add more dependencies?

  • @Rolroorlo
    @Rolroorlo 3 ปีที่แล้ว

    How can we do this with bootstrap?

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

    Hi sir, i just need drop down menu, not dependent Drop down also that dropdown selection need to texted to google sheets? Do you have a video of it? Thanks

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

      Have you tried Google Forms.

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

    Felicitaciones

  • @SabanaYasmin-we3ql
    @SabanaYasmin-we3ql ปีที่แล้ว

    how to prevent re submission of form when reloading the form

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

    Thank you so muchhhh

  • @prasathsmart4091
    @prasathsmart4091 3 ปีที่แล้ว

    Y submit button didn't access Google drive

  • @revathiguguloth3990
    @revathiguguloth3990 3 ปีที่แล้ว

    Hi sir, can I know ur website

  • @CodeWithCurt
    @CodeWithCurt  3 ปีที่แล้ว

    HTML File DependentSelect Code Below:



    function GetFruit(color)
    {

    google.script.run.withSuccessHandler(function(ar)
    {
    console.log(ar);

    fruit.length = 0;

    let option = document.createElement("option");
    option.value = "";
    option.text = "";
    fruit.appendChild(option);

    ar.forEach(function(item, index)
    {
    let option = document.createElement("option");
    option.value = item;
    option.text = item;
    fruit.appendChild(option);
    });

    }).getFruits(color);

    };



    Web App Dependent Drop Down

  • @tareqalsultan
    @tareqalsultan 3 ปีที่แล้ว

    Go