Тёмный

Create Date Picker on Custom HTML Form on Google Sheets using Google Apps Script 

Code With Curt
Подписаться 15 тыс.
Просмотров 10 тыс.
50% 1

In this video, I demonstrate how to create a Date Picker on HTML form using Google Sheets.
jQuery Libraries:
developers.goo...
Video, Code, and Documentation can be found at:
codewithcurt.c...

Опубликовано:

 

18 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@CodeWithCurt
@CodeWithCurt 4 года назад
HTML and Javascript Code Used in Video below: $( document ).ready(function() { $("#startdate").datepicker(); $("#enddate").datepicker(); }); function AddRecord() { var name = document.getElementById("name").value; var startdate = document.getElementById("startdate").value; var enddate = document.getElementById("enddate").value; google.script.run.AddRecord(name, startdate, enddate); document.getElementById("name").value = ''; document.getElementById("startdate").value = ''; document.getElementById("enddate").value = ''; } Name: Start Date: End Date: Google Apps Script Code used in Video below: function doGet(e) { return HtmlService.createHtmlOutputFromFile('WebApp'); } function AddRecord(name, startdate, enddate) { var url = ''; //Paste URL of GOOGLE SHEET var ss= SpreadsheetApp.openByUrl(url); var webAppSheet = ss.getSheetByName("Sheet1"); webAppSheet.appendRow([name, startdate, enddate]); }
@lowellcarbonell3526
@lowellcarbonell3526 3 года назад
You make everything so easy! Thanks a lot. I wonder if you could make a webapp where it shows the disabled dates from a row in your spreadsheet to a datepicker in html to show the dates that aren't already available for you to book an appointment to.
@Adolfohelfen
@Adolfohelfen 3 года назад
Thank you for your video it was very helpful Cuestion How do I change the language on the date picker?
@dwaynesmith5574
@dwaynesmith5574 Год назад
Thanks for this. How can i get it to work with a modal? It works as expected for elements visible on the page but not in model when triggered
@abelinogomez1224
@abelinogomez1224 3 года назад
How can I convert the date picker value to string when copying to google sheet? Thanks in advance!
@mahaabdillah
@mahaabdillah 3 года назад
@Code With Curt : if I create a file upload and dropdown menu?
Далее
Running With Bigger And Bigger Feastables
00:17
Просмотров 95 млн
7 Days Stranded In A Cave
17:59
Просмотров 56 млн
Google Sheets Form for Data Entry - Apps Script
59:47
Просмотров 341 тыс.
Google Apps Script Date Range Search Form
15:27
Просмотров 1,7 тыс.
Google Apps Script Tutorial for Beginners
23:54
Просмотров 373 тыс.
Running With Bigger And Bigger Feastables
00:17
Просмотров 95 млн