This blog is dedicated to sharing tips, tricks, and tutorials on how to use Google Apps Script to automate tasks, build custom applications, and extend the functionality of Google Workspace.
CodyLab, Google Apps Script tutorial, Google Sheets tips, Google Docs guide, Gmail productivity, Google products help, Automate with Google Scripts, Manage spreadsheets, Optimize Google Docs, Improve Gmail usage, Enhance Google Suite, Efficient Google tools, Google application tutorials, webapps script
Publish student result using google sheet, apps script, javascript and html form and get result By student ID | School Project - CodyLab
STUDENT RESULT | GET STUDENT RESULT BY ID NO | doPost(e)
An example of results publishing in apps script.| School Project.
Here we all try to create a web app and publish it as a Anonimous, that student easly can check their result by putting their id no. For this work, we have to publish result first then set up the form to check out the result by student Id. In this Project some different type function we'll use.
Let's first see the data sheet. This project getting data from this example sheet. You have also make a sheet like this or according to your requirement.
Example spreadsheet
Below are the functions that use this example sheet by id.
First for submit data or result entry. This will be protected. and only school staff can access to modify the data or make any type of changes like new entry, read, edit, delete and update.
Second for the student where student can put their roll no. in input, select the class and submit it to the sever. And get their result. Let's moving to the point and get done. (Example on doPost(e) for silent side server click here).
First Step...
Here we need to move to google project page and create a new project. In this project file name 'Code.gs', write following type code (or copy and paste the following code and rearrange as your need or requirment).
In above code has three functions to get the project run. First function is doGet(e) to launch the page that has option to select the Class, input to fill out the id number and submit it to server.
Full doGet(e) function is bellow that launch the home.html page file.
Second function is doPost(e). In this function has parameter to check and return the result. I have used the parameter to check out the result in google sheet. If result get, function launch the result page with result value else it returned to home page with error.
Full doPost(e) function is bellow that launch the result.html file and home.html
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser. The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.