Google Sheets | How To Send HTML Form Data To Google Sheets

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ •

  • @incrediblelearned4981
    @incrediblelearned4981 8 місяців тому +11

    good video, funny part was 'html dada'

  • @PakistanZindabad-vi6xd
    @PakistanZindabad-vi6xd Рік тому +7

    🫡🫡🫡🫡
    This channel is so amazing. God bless all of U.
    M just started learning HTML as my first language to learn. And these easy tutorials are blessings for me. Boss don't know how to express my gratitude....
    Thanks very much!! 🥲🥲🥲
    Love and respect from Multan Pakistan 🇵🇰

  • @MirkoTorrisi92
    @MirkoTorrisi92 9 місяців тому +14

    Am I the only one who found IMPOSSIBLE to debug this stuff?? Really crazy.

  • @prof.alexsouza20
    @prof.alexsouza20 Рік тому +5

    Amazing! Congratulations! Thanks

  • @owallace190
    @owallace190 6 місяців тому +1

    I don't know how it works, but it's what I was looking for so much

  • @Norway3.0
    @Norway3.0 Місяць тому +1

    Good 🙂

  • @yalebass
    @yalebass 5 місяців тому +1

    this actually worked great! was a bit sus of the permissions shenanigans, but it's probably fine. thanks so much!

  • @CanaldoGui
    @CanaldoGui Рік тому +9

    Thank you so much for everything! God bless you and give back double for your contribution and sharing this solution with us! Grateful 🤝🏼

  • @cashflowai506
    @cashflowai506 Рік тому +1

    good job brother

  • @abraham_o
    @abraham_o 5 місяців тому +2

    If I have 3 wishes from a genie, one of them will be to be able to write code like this without writing bugs or the need to press backspace... 🤤 I mean this is amazing.

  • @elcomentarista3477
    @elcomentarista3477 Місяць тому

    Elegante y muy intuitivo el video felicidades... 🎊🎉

  • @user-jxnc
    @user-jxnc 11 місяців тому +2

    Thank you so much! with the source code, it's so easy and that works!

  • @BinNguyenVlog
    @BinNguyenVlog Рік тому

    Nice video

  • @studysangam0.194
    @studysangam0.194 5 місяців тому

    Sir ka video bahut achha hai mai bahut paresan tha javascript code ke lekar magar aapki sahayta aur chatgpt ke maddt se clear ho gya
    Thanks sir❤❤

  • @AlvaroGarciaMS
    @AlvaroGarciaMS Місяць тому +2

    Funciona correctamente.. Muy Bueno. Works Fine!

  • @ganesht7148
    @ganesht7148 6 місяців тому

    Thankyou very much! i was struggling with the CORS error. This helped a lot.

  • @crinceebelempou6611
    @crinceebelempou6611 Рік тому +1

    Amazing

  • @abhijithjinnu603
    @abhijithjinnu603 7 місяців тому +1

    Thank You! This works.

  • @phuclahoang9266
    @phuclahoang9266 Рік тому +1

    amazing

  • @TuấnNghĩaNguyễn-j3t
    @TuấnNghĩaNguyễn-j3t 3 місяці тому +2

    This video is so helpful.
    How to make it works with instead of ?

    • @learning-axis
      @learning-axis  3 місяці тому +1

      it will not work with

    • @zidanefirdaus5701
      @zidanefirdaus5701 3 місяці тому

      if you want it to work, you should have better understanding of javascript. it'll require something like this:
      const data = document.querySelector('span #id');
      unless you have learn JS it will be more difficult

  • @FikirCompany
    @FikirCompany Рік тому +4

    Thank you very much 👍❤

  • @jorgeflores762
    @jorgeflores762 Рік тому +2

    Gracias, nos salvaste la vida a mi grupo y a mi, eres el mejor.

  • @Loselegidosdecristo1
    @Loselegidosdecristo1 10 місяців тому

    Este vídeo vale oro, estuve buscando vídeo pero esta es la mejor,

  • @duhabejo8370
    @duhabejo8370 6 місяців тому

    Amazing! Thanks,sir..

  • @Ana-tg2kc
    @Ana-tg2kc 2 місяці тому

    Amazing tutorial!
    Thank you very much!

  • @hiroyukinumaguchi1984
    @hiroyukinumaguchi1984 Рік тому +1

    Great!

  • @BinNguyenVlog
    @BinNguyenVlog Рік тому +1

    Amazing! Thanks

  • @ahmadchohan1012
    @ahmadchohan1012 Рік тому +1

    This video is so useful.

  • @ak_yt86
    @ak_yt86 Рік тому +2

    I really find this video bro, you made my day 😍, thanks a lot for you make this video for me 🙂

  • @szyman4666
    @szyman4666 9 місяців тому

    Good video thanks a lot

  • @eyasarqam3854
    @eyasarqam3854 2 місяці тому +1

    Thank you,
    Great JOB♥

  • @TestVideo2share
    @TestVideo2share 8 місяців тому +1

    That's great, thank You very much!!👍

  • @mohdrehan418
    @mohdrehan418 2 місяці тому +1

    Shukriya bhai❤

  • @edppdammks
    @edppdammks 7 місяців тому +1

    greaaattt

  • @Instopedia_
    @Instopedia_ Рік тому +3

    Sir same method aan njn cheythr, but enik submit akumbo something error enna aa msg varunnu
    Enthaa cheyya

  • @MumbaiKaCoder
    @MumbaiKaCoder 10 місяців тому

    ASMR Coding - Creating Real Switch Button Animation using HTML and CSS ua-cam.com/video/e5q3hzFJmgU/v-deo.html

  • @jamal.salouni
    @jamal.salouni 11 місяців тому +1

    thank you so much you give me exactly what i want you are amazing

  • @3PFTChannel
    @3PFTChannel Рік тому +1

    Thank you, It's awesome

  • @Pratham008
    @Pratham008 5 місяців тому +1

    Thank you so much

  • @asikahmad507
    @asikahmad507 3 місяці тому +1

    ❤❤❤❤❤

  • @dev.antunes
    @dev.antunes 6 місяців тому

    Thanks a bunch! It worked well!

  • @ngorecruitment-e4v
    @ngorecruitment-e4v Місяць тому +1

    Thank you it worked

  • @kaleenislive1452
    @kaleenislive1452 10 місяців тому +1

    html dada >>>
    XD

  • @lounes03b99
    @lounes03b99 Місяць тому +2

    is your code { in google sheet } work with more input feild or just with 4 input feilds?? i used ur code but >> {"result":"error","error":{}}

    • @learning-axis
      @learning-axis  Місяць тому

      yes, It can work just create new field in google sheet and follow the same steps as given in video

    • @learning-axis
      @learning-axis  Місяць тому

      you can run this code on local server, and also create account on smtpjs

  • @ruddykielo82
    @ruddykielo82 Рік тому +1

    top!

  • @danieladestefano3880
    @danieladestefano3880 5 місяців тому +1

    Great video, and very well explained. Is there a way after having written the data to display only a correct sending message without displaying the address of the reference page in the pop up?
    Thank you for your response and your help.

    • @learning-axis
      @learning-axis  5 місяців тому

      Thank you for your feedback! Yes, you can modify the pop-up to display only a success message without showing the reference page address. You can achieve this by setting the pop-up content to your desired message. Here’s a quick example:
      alert('Data sent successfully!');

  • @NgedonTshel
    @NgedonTshel Рік тому +2

    how would be the app script if i add another sheet within the same google sheet

  • @capurim
    @capurim Рік тому +4

    Thank you, it's a very nice tutorial but I have got an error in console :
    Access to fetch at 'my script URL' from origin 'my local URL' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
    Do you have a tip to resolve this bug?
    Thanks !!

  • @eldonmati
    @eldonmati 3 місяці тому

    This is genius work, thank you for sharing! Question, is there a way to make it send an email notification every time a new row is added to the spreadsheet?

    • @learning-axis
      @learning-axis  3 місяці тому

      You can integrate email by using smtpjs;
      I have created video on that,
      Video link: ua-cam.com/video/8JBl2Ug7P_E/v-deo.htmlsi=gkVXSV5JJ11ANUn-

  • @suketudeliwala7673
    @suketudeliwala7673 4 місяці тому

    Thanks.. I could make small application of change of address for a small NGO without domain and storage.. thank you so much.. god bless you...👃👃

  • @EspenWith
    @EspenWith 8 місяців тому +1

    I've copied your codes and done everything in your video. I get this error: "Script function not found: doGet"

    • @learning-axis
      @learning-axis  8 місяців тому

      do you add script in google sheets?

  • @alexapfatalimachi9224
    @alexapfatalimachi9224 Рік тому +1

    thank you very much :)

  • @EternalUltimate
    @EternalUltimate 8 місяців тому

    you are the best

  • @frankbonan7273
    @frankbonan7273 5 місяців тому +1

    Thanks beautiful project, how can I do to add a column with date and time added automatically to each submit?

    • @learning-axis
      @learning-axis  5 місяців тому

      You can fetch time in JavaScript, forward it into the new input tag's value, and then to google sheets.

  • @ibrohimbratan707
    @ibrohimbratan707 Місяць тому +1

    didn't worked

    • @learning-axis
      @learning-axis  Місяць тому

      create account on smtpjs, and run the code on local server

  • @alexandremartins6130
    @alexandremartins6130 Рік тому +1

    Thanks bro!

  • @oscar_mine
    @oscar_mine 7 місяців тому +1

    thanks man

  • @k.harsha8792
    @k.harsha8792 10 місяців тому +2

    {"result":"error","error":{}}
    Iam getting this error after submitting the form can you please tell me where to correct

    • @learning-axis
      @learning-axis  10 місяців тому

      create account on smtpjs and add two step verification to you Gmail account

  • @GeniusFranklyn
    @GeniusFranklyn Місяць тому +1

    it didn't work for me, says error instead of success

    • @learning-axis
      @learning-axis  Місяць тому

      there main be error,
      do you run it on local server?

    • @GeniusFranklyn
      @GeniusFranklyn Місяць тому

      @@learning-axis yes

    • @learning-axis
      @learning-axis  Місяць тому

      @@GeniusFranklyn ok, you also need to create account on smtpjs

  • @KanchanChouhan-u2g
    @KanchanChouhan-u2g 8 місяців тому

    thank you so much!!

  • @echoesandnoise
    @echoesandnoise 6 місяців тому

    Thank you!

  • @janosch_gnz
    @janosch_gnz 2 місяці тому

    what is the best method to secure the sheet and the webapp against attacks? For example, someone simply takes the endpoint and spams it with a script or someone simply takes the sheet ID and edits or looks at the file

    • @learning-axis
      @learning-axis  2 місяці тому

      Use authentication and authorization to protect endpoints, implement rate limiting to prevent spamming, and secure your API keys and sensitive data. For sheets, restrict access permissions and use tokens for API interactions.

  • @CamiloR1997
    @CamiloR1997 10 місяців тому +1

    11:30 I have a problem with this part of the code, I'll explain. I completely created the code and the js file, and also the html linked that file, copied the link from Google Sheet and also pasted it into the js code. but when I refresh the page and enter their information and hit send, nothing happens. Neither the data is added to the sheet nor does the message appear.

    • @learning-axis
      @learning-axis  10 місяців тому +1

      did you create account on smtpjs.

    • @learning-axis
      @learning-axis  10 місяців тому +1

      and also add two step verification to your gmail

    • @CamiloR1997
      @CamiloR1997 10 місяців тому +1

      @@learning-axis The code works for me, the form data is complete, everything is excellent, but when I enter the code for the thank you message and click send, nothing happens, the data does not arrive and the message does not appear either.

    • @CamiloR1997
      @CamiloR1997 10 місяців тому +2

      @@learning-axis I already have my Hosting and I am doing it directly and my Gmail also has two-step verification. Do you have an email address where I can send you a short video so that you can help me?

    • @learning-axis
      @learning-axis  10 місяців тому

      @@CamiloR1997 yeah "contact@learning-axis.com"

  • @newtonm2162
    @newtonm2162 2 місяці тому +1

    hello my javascript code seems to not be working, but everything else is okay

    • @learning-axis
      @learning-axis  2 місяці тому

      It sounds like there might be a small issue in your JavaScript code.

  • @haseebtanvir3651
    @haseebtanvir3651 28 днів тому

    what to do if we want to upload a file as well ? firstly i want to upload the file in drive and than save the file link in sheet

  • @zanport
    @zanport 8 місяців тому +2

    It don't work! Don't waste your time!!!

  • @dakshataramteke1838
    @dakshataramteke1838 Місяць тому +1

    My data is not working I don't know what happen

    • @learning-axis
      @learning-axis  Місяць тому

      there may be error in your code or script,
      follow all steps as described in the video

  • @vincentsominski9124
    @vincentsominski9124 9 місяців тому

    Hey. Really nice guide. I was wondering if it is possible to set each sheet to be for a single form and has like for ex. 3 forms and for each one will be one sheet. Do you have any idea if it is accessible?

    • @learning-axis
      @learning-axis  9 місяців тому

      you can do these things using node js

  • @khoatran1535
    @khoatran1535 10 місяців тому

    Hi, i have a list input (checkbox) and i want to multi choice values. How to do it

  • @harithdevinda
    @harithdevinda 9 місяців тому

    thank you ... !!!

  • @skillzorskillsson8228
    @skillzorskillsson8228 Рік тому +1

    You do know that font-family and font-size is inherited properties right? So why use it on the universal selector?

    • @learning-axis
      @learning-axis  Рік тому +2

      Some properties like font-size, and font-family are inherited from the parent when the element has no value specified in itself

    • @mk.bigboss122
      @mk.bigboss122 Рік тому

      ​@@learning-axis Hlo bro, I need a website, I will give money when the website complete. How to contact you 🤔 plz replay me

    • @learning-axis
      @learning-axis  Рік тому

      contact me on: blakdeer31@gmail.com

    • @learning-axis
      @learning-axis  Рік тому

      @@mk.bigboss122 sure

    • @clevermissfox
      @clevermissfox 11 місяців тому

      They aren’t inherited by default on inputs. You have to set input {font: inherit}

  • @NICKVLOG17
    @NICKVLOG17 Рік тому

    Bhai kisme coding kar rhe ho

  • @yourdailyaffirmations9100
    @yourdailyaffirmations9100 10 місяців тому +1

    How can we make the process faster.. it takes 5 secs.. Can we reduce it

  • @tinashesigauke1149
    @tinashesigauke1149 Рік тому +1

    i have 3 diffrent form on my html code how do i go about it

  • @harsharavi2683
    @harsharavi2683 Рік тому

    Hi, everything works perfectly. I want to know how do I redirect to another link once the form is submitted? Thanks in advance

    • @learning-axis
      @learning-axis  Рік тому

      Replace (window. location.reload.) with (window. location.href="link";)

    • @antoniosh8130
      @antoniosh8130 11 місяців тому

      @@learning-axis Hi! When I'm trying to fetch it shows an error saying I'm missing some headers? And keeps saying failed to fetch

    • @learning-axis
      @learning-axis  11 місяців тому

      @@antoniosh8130 add twostep verification to you Gmail and create account on smtpjs

  • @rysh62
    @rysh62 Рік тому +1

    It gives me the "Result": "Success" "row 2" message but doesn't actually add onto the google sheets. What's the problem?

    • @learning-axis
      @learning-axis  Рік тому +3

      check the names of inputs.
      check the name of the sheet you put in the app script.

    • @rysh62
      @rysh62 Рік тому +1

      @@learning-axis cool i got it working! Thanks

    • @azharahmed7928
      @azharahmed7928 10 місяців тому

      facing same issue what was the issue?

    • @learning-axis
      @learning-axis  10 місяців тому +1

      @@azharahmed7928 check the names of inputs.
      check the name of the sheet you put in the app script.

  • @jademarkfernandez1890
    @jademarkfernandez1890 8 місяців тому

    What app did you use to code? Im not very familiar sorry

  • @KoartePlays
    @KoartePlays 9 місяців тому

    thanks

  • @Mickiewicz114
    @Mickiewicz114 Рік тому +1

    I did everything listed in this video but it didn't work. Why does it keep showing me error with empty {}

    • @learning-axis
      @learning-axis  Рік тому

      I also provided the code link in description please use that code

  • @beinfomaniac7182
    @beinfomaniac7182 Рік тому +3

    I am having cors error
    Does anyone know how to fix it

    • @DougsTea
      @DougsTea 7 місяців тому

      You can just copypaste the code directly from his file. Mine isn't submitting any data to the google sheet (there is no error though).

  • @CT_Crock
    @CT_Crock 6 місяців тому

    I have question why i do the same step with yours but i my contact data won't add into google sheet but it show sucess in row 2

  • @SUBASH-i3z
    @SUBASH-i3z 3 місяці тому

    It only works on copy path website only but it doesn't work after hosting how can i solve it

  • @mundogamer4607
    @mundogamer4607 10 місяців тому +1

    y como envio archivos se puede hacer eso?

  • @SebastiánAntonioHuertaSoto
    @SebastiánAntonioHuertaSoto 3 місяці тому

    I implemented this in nextjs and in a separate project only from html and js and for some reason that I don't know it did not recognize the spreadsheet at any time, it does not allow me to record data. I'm sure I created the script on the same sheet and compared each line. I don't know what it was due to.

  • @SUBASH-i3z
    @SUBASH-i3z 3 місяці тому

    Bro it does not conduct user input after hosting how can i get user input after host public pls give me answer

  • @VicenteVilaplana
    @VicenteVilaplana 7 місяців тому

    Un descubrimiento, gracias. Intento modificarlo para poder subir una imagen pero no logro hacerlo. Me sale el formulario bien, no me da errores pero ni me sube la imagen ni me registra la URL

  • @muzamilzaman7463
    @muzamilzaman7463 Рік тому +1

    Can we get copy of this code ???

  • @anhleuc1365
    @anhleuc1365 11 місяців тому

    Great guide. I have 2 words but want to dump data into the same sheet. from 1 dump data page1 . from 2 dump data page2 . I have tried but it's failed . help me

  • @BasilIkpe
    @BasilIkpe 7 місяців тому

    Thank yoooooooooou

  • @daddoesminecraft1980
    @daddoesminecraft1980 3 місяці тому

    @Learning Axis. Thank you, I followed everything and when I run it, it doesn't bring it over into my spreadsheet. I did use MY spreadsheet link and not yours. I'm not getting any errors, just not getting any results either.

    • @learning-axis
      @learning-axis  3 місяці тому

      are you using local server for this?

    • @daddoesminecraft1980
      @daddoesminecraft1980 3 місяці тому

      @@learning-axis no, it's live on my web server hosted thru godaddy.

  • @Karmaevents
    @Karmaevents 11 місяців тому

    hey good job, can we do it for a multiple step form ?

  • @harveywork-i8p
    @harveywork-i8p Рік тому

    how do you add a 'upload file', add an image from files and then receive and open it on google sheets?

    • @learning-axis
      @learning-axis  Рік тому +1

      we can't receive image file in google sheets

    • @v2al389
      @v2al389 11 місяців тому +1

      So where can I send the file to open it?

  • @DipayanBrrandom
    @DipayanBrrandom 9 місяців тому

    How I store attachment file as well?

  • @binhduong607
    @binhduong607 25 днів тому +1

    Thanks for your sharing but
    I have a bug :
    TypeError: Cannot read properties of null (reading 'getId')
    when I run the source code Code.gs on Google Apps script. Every one know this bug, please tell me the solution. Thanks you so much.

    • @learning-axis
      @learning-axis  24 дні тому

      "It sounds like the code is trying to access an element that doesn’t exist. Make sure that the function `getId` is called on an object that is not `null`. Check if all necessary elements or objects are correctly defined before calling `getId`. If you’re fetching something from a Google service (e.g., Drive or Sheets), confirm that the file or sheet exists and the ID is correct. Let me know if this helps!"

    • @learning-axis
      @learning-axis  24 дні тому

      and run it on local server

    • @binhduong607
      @binhduong607 24 дні тому

      @@learning-axis Thank you so much 😻

    • @learning-axis
      @learning-axis  23 дні тому

      @@binhduong607 you welcome

  • @payunghujan1758
    @payunghujan1758 6 місяців тому

    HOW to With Upload file/image?

  • @shrutimishra6923
    @shrutimishra6923 6 місяців тому

    Code works and it gives {"Result": "Success" "row 2" }, but as soon Google Sheet.js is added in html "CORS" error is coming. Please help

    • @learning-axis
      @learning-axis  6 місяців тому +1

      > are you using local server ? (like xampp or any other).
      > You need to create account on smtpjs.
      > Add to step verification to you Gmail account.

  • @SIDDHARTHKALBURGI
    @SIDDHARTHKALBURGI 6 місяців тому +1

    Can we embed this on my landing page

  • @shahjahanali5189
    @shahjahanali5189 Рік тому

    How to add pictures in your form and upload my google drive

  • @Sriraam_2k3
    @Sriraam_2k3 9 місяців тому

    Anybody can explain why he code in that another page of Excel site program
    7:14

  • @coolvibesreloaded7946
    @coolvibesreloaded7946 2 місяці тому +1

    My form submissions aren't going through? Please help

    • @learning-axis
      @learning-axis  2 місяці тому

      did you run it on local server?

    • @coolvibesreloaded7946
      @coolvibesreloaded7946 2 місяці тому

      @@learning-axis oh do you have to have a server to run it

    • @coolvibesreloaded7946
      @coolvibesreloaded7946 2 місяці тому

      @@learning-axis I've tested it on my website added the scripts to Google script put in the header the name of my sheet Music Requests still not working please help

    • @learning-axis
      @learning-axis  2 місяці тому

      @@coolvibesreloaded7946 yes

    • @learning-axis
      @learning-axis  2 місяці тому

      @@coolvibesreloaded7946 ok, did you create account on SMTPjs?