Web App Materialize CSS AutoComplete with JavaScript - Google Apps Script Web App Tutorial - Part 9

  Рет қаралды 42,419

Learn Google Sheets & Excel Spreadsheets

Learn Google Sheets & Excel Spreadsheets

Күн бұрын

Пікірлер: 88
@aJayBoulder
@aJayBoulder 5 жыл бұрын
This is a great series! I can't wait for the next video.
@jaigod
@jaigod 4 жыл бұрын
Excelente trabajo. aprecio mucho la claridad y seriedad de tu material.
5 жыл бұрын
Great tutoriasl. I have learned so much. Congratulations
@pipeliner8969
@pipeliner8969 5 жыл бұрын
this series is super good!
@manzelzwel4595
@manzelzwel4595 5 жыл бұрын
Hello and Thanks for this Web App tutorials ! I'm having such a great time doing it !
@adammiller5886
@adammiller5886 5 жыл бұрын
thank you so much for your effort to create these videos. Helped a lot!
@Strikeast
@Strikeast 3 жыл бұрын
Great tutorial video
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
Thank you! Cheers!
@Erick-wh2fh
@Erick-wh2fh 2 жыл бұрын
Hi, thank you so much for your tutorial videos. How can I attach two or more images in this web app?
@dustincintron1682
@dustincintron1682 8 ай бұрын
I'm very late but this is a great tutorial. I never knew about this capability. Given this is 5 years ago are there updated versions of this? Perhaps that you yourself have demo'd? (I'll be browsing your KZbin, I just wanted to ask first)
@GreigMcGill
@GreigMcGill 3 жыл бұрын
Probably very late to this party, but I just hit a very odd problem. I had working code based on this, and overnight, it ceased to function. The autocomplete list object was being populated correctly serverside (logs showed {bob=null, fred=null, jane=null} etc. but clientside, I was suddenly retrieving an empty object {}. After a LOT of headscratching, it seems something has changed with the way "null" is handled. Previously this worked: options[v[0]] = null; As of today (well, for me anyway, who knows how long it's been happening given server upgrades etc.) I need to use: options[v[0]] = false; If this helps even one person avoid the morning I've just had, great! If anyone knows what has changed around the handling of null, or why this suddenly happened, please let me know.
@luiginoto1024
@luiginoto1024 3 жыл бұрын
I also encountered the same problem, yesterday morning everything was ok. In the afternoon the autocomplete was no longer functional. For now I have taken advantage of your suggestion and now everything is ok. I don't know what it depends on. Thanks
@GreigMcGill
@GreigMcGill 3 жыл бұрын
@@luiginoto1024 That's great news, if only because it confirms I'm not going crazy, and didn't waste my time. :-) Glad it helped, and cheers!
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
Is it possible it was just a temporary issue?
@GreigMcGill
@GreigMcGill 3 жыл бұрын
@@ExcelGoogleSheets anything is possible, but as of right now, it's still the same. Change false back to null, and the object returned is empty.
@AlexBoshyTime
@AlexBoshyTime 3 жыл бұрын
stucked with the same problem changing null to false helped seems like the problem is with returning object, as you said
@myudhatristianto2774
@myudhatristianto2774 4 жыл бұрын
Great video, thank you so much. Do you know how to add dynamic autocomplete in table cell?
@arturmangabeirasoares1735
@arturmangabeirasoares1735 5 жыл бұрын
This is exactly what i needed, thank you so much!
@arturmangabeirasoares1735
@arturmangabeirasoares1735 5 жыл бұрын
I have one question, tho. is it possible to make data validation? the way this is, the autocomplete works, but if someone types a different thing, it can still record the value. how can i make this validation?
@ExcelGoogleSheets
@ExcelGoogleSheets 5 жыл бұрын
It is possible. It's not something that can be explained within a comment though.
@arturmangabeira9990
@arturmangabeira9990 5 жыл бұрын
Nice. thanks! would be an awesome part 10 of the series! :)
@arundquist
@arundquist 5 жыл бұрын
Great video series, thanks so much! I'm curious about the difference between initializing the words for the autocomplete using a google.script.run ... versus using . One reason to do what you're suggesting would be the ease of re-initializing the words, but it seems you wouldn't really need to do that for most use cases.
@ExcelGoogleSheets
@ExcelGoogleSheets 5 жыл бұрын
Depends. In this particular case you need the object to initialize the autocomplete box from MaterializeCSS so wouldn't really work.
@Sacchidanand
@Sacchidanand 5 жыл бұрын
Can we add log-in page or restrict our Web app to particular users based on thier email addresses?
@pqdt42693
@pqdt42693 5 жыл бұрын
Very very very good. Thanks!
@ycsb-gael
@ycsb-gael 4 жыл бұрын
I'm trying to have two autocomplete input depending one on the other. First autocomplete is lastname and the second is firstnames where lastname match. I managed to get the Lastname autocomplete initialized and working but cannot the second aucomplete data dynamicaly updated. Did you implemented something like this ?
@selyprimagustian_5p6_38
@selyprimagustian_5p6_38 Жыл бұрын
Hi Sir, can you make a video dependent dropdown menu from this series.....thanks
@user-vc8oj2bv1k
@user-vc8oj2bv1k 3 жыл бұрын
Great video. Learned alot from this series. One question: I tried using AutoComplete for the ZipCode but the Estimated Cost doesn't show up. Wonder what went wrong. Thank you very much
@Wallace_cruz
@Wallace_cruz 3 жыл бұрын
For those who are in trouble, currently need to change the null to false.
@mhd.b3491
@mhd.b3491 3 жыл бұрын
Life saver!
@pavithrapalani583
@pavithrapalani583 4 жыл бұрын
By selecting this value may I know how to find the next cell value for the selected option using auto compelete
@nanpipe
@nanpipe 5 жыл бұрын
Hey awesome video... I have a question. How do I get the activeIndex when using the Autocomplete option of materialize. I have tried everything but I'm always getting a "-1". I'm able to get the "count" value but not the activeIndex... is there something that I have to call out first or define? I'm using the basic example so far... var list = document.getElementById('paxList'); var insta = M.Autocomplete.init(list, {data : paxListComplete, onAutocomplete : emails }); autoComplete = M.Autocomplete.getInstance(list); var index = autoComplete .activeIndex;
@macporton5953
@macporton5953 3 жыл бұрын
Do you have tutorial on autocomplete using bootstrap?
@wirot125
@wirot125 2 жыл бұрын
Thank you so much.
@estateironworkoffice269
@estateironworkoffice269 2 жыл бұрын
This web app series is so helpful. Thank you for creating the tutorial video. I am having trouble with the formatting when using autocomplete on a phone, when the autocomplete populates choices it zooms the screen in so far I cannot see the options. I then have to shrink the text back down to continue. Do you have any ideas on how to fix this issue? Thanks
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Try adding meta tags to your htmlService.. There is an example how to do it here kzbin.info/www/bejne/q5mzkKOFZaiMnKs
@dungtranmanh4145
@dungtranmanh4145 5 жыл бұрын
Thank you very much but i have question. If i have 4000 row, the autocomplete may be delays for loading data. Do you try with 4000 row and if happen do you have solution for it. Thank again.
@_CVD
@_CVD 4 жыл бұрын
Hey thanks so much for the great information! This has been running flawlessly in my script for about a year, but since moving my script to Google's V8 engine, the lookup feature does not run. Has anything changed on the scripting language side, that might prevent this from running?
@ExcelGoogleSheets
@ExcelGoogleSheets 4 жыл бұрын
I can't think of any reason that V8 would interfere with this. You need to check your logs and see what's going on.
@ExcelGoogleSheets
@ExcelGoogleSheets 4 жыл бұрын
Watch this for more info about troubleshooting kzbin.info/www/bejne/nJ3bm2CHd5pjsNE
@_CVD
@_CVD 4 жыл бұрын
@@ExcelGoogleSheets I think I found the culprit! forEach was discontinued in V8, so the step adding "=null" to each item is preventing the options list from being created. Would you be wiling to offer a replacement in a "for" iterator format? I would be very grateful.
@_CVD
@_CVD 4 жыл бұрын
@@ExcelGoogleSheets In looking for a workaround, I have am able to replicate the object output in the Logger.log() using a map function instead of forEach, but the autopopulate function still does not work. I am out of ideas.. if the same input is going into the HTML front end, and all the other functions, like calendar picker are working, then it must be something with the way V8 is interpreting this object: var options = {} customerNames2D.map(function(v) { return options[v]=null; }); return options; --- Sorry to place this code here, and fill up your comment section, but I hope we can find a solution together, which could help out other people watching this great video too. :)
@AdamEfrati
@AdamEfrati 4 жыл бұрын
​@@_CVD I'm now facing the same problem, autocomplete does not work even though it's working with the logger.
@melih.a
@melih.a 2 жыл бұрын
I can't seem to get a modal to work with Materializecss could you please make a video on this? Is it an issue with only google app scripts? It opens a new page instead of behaving as a modal.
@alexandrecharest2715
@alexandrecharest2715 5 жыл бұрын
Hello, thank you for all your tutorials, they are very useful. Do you know if it's possible to do the same thing in google forms?
@geraldinebrigante4710
@geraldinebrigante4710 4 жыл бұрын
how did it go with it? you got this?
@wellingtonjesus1340
@wellingtonjesus1340 5 жыл бұрын
Muito bom o vídeo! Algum trabalho relacionado a tag Navbar para menu mobile? Obrigado!
@johnsalazar7114
@johnsalazar7114 4 жыл бұрын
I have a question how could I validate the "send button" to go to another web page. This is the code: var idKeys = Object.keys(toValidate); var allValid = true; idKeys.forEach(function(id){ var isValid = checkIfValid(id,toValidate[id]); if(!isValid){ allValid = false; } }); if(allValid){ addRecord(); }
@alejandrobedoyamunera7332
@alejandrobedoyamunera7332 5 жыл бұрын
Hello, How can I display the image according to the search from the spreadsheet?? thanks
@fhozouri
@fhozouri 3 жыл бұрын
Exxxxcelllent
@eguchiyuuki
@eguchiyuuki 3 жыл бұрын
thanks!!
@blacktower3076
@blacktower3076 3 жыл бұрын
I have been done with autocomplete according your instruction but it worked some days and don't work any more. So what happen for it please help me to solve it. Thanks.
@VebyoArson
@VebyoArson 3 жыл бұрын
When I tried this it took too long for autocomplete to retrieve data from my Google sheet that I couldn't even type in input field for about 5 seconds.. Do you know what's the problem? Is there any method to avoid this?
@geraldinebrigante4710
@geraldinebrigante4710 4 жыл бұрын
Hello Learn Google spreadsheets - I must say, I've learned a lot from you. and must ask, this function can be used in a simple google form?
@ExcelGoogleSheets
@ExcelGoogleSheets 4 жыл бұрын
No.
@tazulislam2698
@tazulislam2698 3 жыл бұрын
How to estimate autocomplete? please give link if you have.
@ConsulthinkProgrammer
@ConsulthinkProgrammer 3 жыл бұрын
There's someone else facing loading issue with this DOMContenloaded autocomplete with Materialize?
@ghostman2876
@ghostman2876 4 жыл бұрын
Why the media queries are not working in app script
@ExcelGoogleSheets
@ExcelGoogleSheets 4 жыл бұрын
developers.google.com/apps-script/reference/html/html-output-meta-tag
@moh5ki
@moh5ki 3 жыл бұрын
Is anyone experiencing issues with this. It used to work fine for a while but since last week it stopped working...
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
some people mentioned using false instead of null
@nepsrn2467
@nepsrn2467 3 жыл бұрын
Hello, this functionality has stopped working. Does anyone know the reason and the solution?
@nepsrn2467
@nepsrn2467 3 жыл бұрын
@greig McGill I made the suggested change, but the autocomplete still doesn't work. Any suggestion? var options = {}; data.forEach (function (v) { options [v [0]] = false; });
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
options[v[0]] = false;
@arturbro9697
@arturbro9697 4 жыл бұрын
Please provide files for this tutorial. I will be very grateful
@Anzeljaeg
@Anzeljaeg 3 жыл бұрын
thankoyu
@matusalemdamarin4060
@matusalemdamarin4060 8 ай бұрын
@LufianCloud
@LufianCloud 2 жыл бұрын
even if I use "ws.getRange(1, 3)" it only return the first column.
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
That makes no sense. 🤔
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
First row you mean?
@LufianCloud
@LufianCloud 2 жыл бұрын
@@ExcelGoogleSheets that's why I want to send a report to google about it. Because whatever I do, it only return the first row or column (I'm sorry I really get confused by rows and columns like vertical and horizontal).
@LufianCloud
@LufianCloud 2 жыл бұрын
@@ExcelGoogleSheets I honestly need to make this work because this is the part I have to use in the website I'm planning to make.
@LufianCloud
@LufianCloud 2 жыл бұрын
@@ExcelGoogleSheets is there a way that I can send my code to you even just the screenshots of it so that you could check whether I did wrong or right?
Form Validation HTML5 + JavaScript + RegEx - Google Apps Script Web App Tutorial - Part 10
23:38
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 48 М.
Autocomplete Field on Google Web App
16:21
Code With Curt
Рет қаралды 12 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Invoicing Web App using Google Sheet and Apps Script
8:41
TechLever
Рет қаралды 10 М.
Google Web App User Info Access & Deployment - Apps Script Tutorial
12:58
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
Materialize CSS UI Web App - Google Apps Script Web App Tutorial - Part 3
25:11
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 150 М.
Bootstrap Modal on Google Web App
14:53
Code With Curt
Рет қаралды 10 М.