Saving Form Data You can save form data in Google Spreadsheets using the following steps. 1.Create a Google Spreadsheet in your documents 2.Use Tools to.

Slides:



Advertisements
Similar presentations
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Advertisements

Support.ebsco.com EBSCOadmin Branding Tutorial. Welcome to the EBSCOadmin Skinning and Branding tutorial, where you will learn how to customize EBSCOhost.
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Session Variables Storing Session Variables on the Server.
Lesson 1 Quick HTML Know-How. A little HTML History In 1990 Tim Berners-Lee invented: World Wide Web HTML (hypertext markup language) HTTP (HyperText.
JavaScript Forms Form Validation Cookies. What JavaScript can do  Control document appearance and content  Control the browser  Interact with user.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Google Visualization ISYS 650. Google Visualization API We can use the Google Visualization.
Using KompoZer -- a web editor A collection of video tutorials
JavaScript Forms Form Validation Cookies CGI Programs.
Python and Web Programming
JavaScript Lesson 1 TBE 540. Prerequisites  Before beginning this lesson, the learner must be able to… Create a basic web page using a text editor and/or.
My Workspace Profile. Using the course menu, click on Profile.
WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Working with Forms in JavaScript (NON-audio version) © Dr. David C. Gibbs
Forms, Validation Week 7 INFM 603. Announcements Try placing today’s example in htdocs (XAMPP). This will allow you to execute examples that rely on PHP.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Advance Database Management Systems Lab no. 5 PHP Web Pages.
MSSQL & ASP. Client-Server Relationship Client-Server Relationship HTML Basics HTML Basics Scripting Basics Scripting Basics Examples Examples.
Lesson 13: Building Web Forms Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Department of Information Technology e-Michigan Web Development 0 HTML Form Creation in the Vignette Content Management Application.
JavaScript & jQuery the missing manual Chapter 11
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
CSCI 6962: Server-side Design and Programming Introduction to AJAX.
© 2011 Delmar, Cengage Learning Chapter 9 Collecting Data with Forms.
Introduction to InfoSec – Recitation 7 Nir Krakowski (nirkrako at post.tau.ac.il) Itamar Gilad (itamargi at post.tau.ac.il)
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
1 Test Automation For Web-Based Applications Selenium HP Web Test Tool Training Portnov Computer School.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
The Evils of Copy and Paste Presented by Daniel Daugherty
06/10/2015AJAX 1. 2 Introduction All material from AJAX – what is it? Traditional web pages and operation Examples of AJAX use Creating.
As a student response tool Created By Sean Junkins.
Activity 2 Building a survey form using Dreamweaver Procedure
Website Development with PHP and MySQL Saving Data.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
Online Surveys Jacqui James and Malcolm Roberts School of Education.
Web Foundations WEDNESDAY, NOVEMBER 20, 2013 LECTURE 32: DREAMWEAVER SLIDE SHOW AND GOOGLE MAP.
PEFnet 2012 Václav Telenský. What is TeXonWeb?  Web application  DTP system  TeX/LaTeX  Output format PDF  Sufficient basic principles of TeX/LaTeX.
Attaching Forms To Invoices. What circumstance would prompt electronically attaching a form to an invoice? SFA – 12 forms In-State Mileage Attendance.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Website Forms / Data Acquisition.
Presentation by WX7RIK 1. 2  The AEC for each location must install the templates on your RMS Express computer (see our website for step-by-step instructions)
AJAX Asynchronous JavaScript and XML 1. AJAX Outline What is AJAX? Benefits Real world examples How it works 2.
Program Editor Macros – for PC SAS. Objectives What are program editor macros? SAS code that is saved and available any time you open SAS When to use.
HTML Forms.
Creating a Form. Accessing Docs Log into your USD 465 Google Account Click on the “Documents” link at the top of.
Check Boxes. 2 Check boxes  Image from:  HTML:  Each box gets it's own.
Learning Aim C.  In this section we will look at how text, tables, forms and frames can be used in web pages.
PYP002 Intro.to Computer Science Brwosing the Web1 Browsing the Web Chapter 19.
Sitecore Basic Training Drexel’s full-featured web content management system (CMS) Web Support Information Resources & Technology (IRT)
Day 22, Slide 1 CSE 103 Day 22 Non-students: Please logout by 10:12. Students:
JQuery, JSON, AJAX. AJAX: Async JavaScript & XML In traditional Web coding, to get information from a database or a file on the server –make an HTML form.
Weebly is Your Friend. * To Enhance And Promote Your Curriculum * To Provide A Student Resource * Add Efficiency to Your Planning * Informational * Promote.
University of Kansas Department of Electrical Engineering and Computer Science Dr. Susan Gauch April 21, 2005 I T T C Introduction to Web Technologies.
KNOWLEDGE COMMUNITIES
A web coordinator guide to Adding content
How to Write Web Forms By Mimi Opkins.
Positioning Objects with CSS and Tables
Adding a File to a Course
A Power Point Presentation
Forms, cont’d.
JavaScript & jQuery AJAX.
Creating Forms on a Web Page
Google Webmaster Tools Setup
CSCI N207 Data Analysis Using Spreadsheet
Browsing the Web Chapter 19 PYP002 Intro.to Computer Science
Positioning Objects with CSS and Tables
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Presentation transcript:

Saving Form Data You can save form data in Google Spreadsheets using the following steps. 1.Create a Google Spreadsheet in your documents 2.Use Tools to Create a Form

Create a Simple Form 3.In Google Forms, create a "question" for each of the inputs you'll need. Use simple labels for the "questions".

View the Form 4.Choose to View Live Form 5.In the browser, choose Develop -> Show Web Inspector

Copy the Code 6.Open up the body and find the form tag 7.Highlight the form tag & copy it 8.Paste the code into a text editor

Find Names 9.Find the form action and name for each input in the form. You'll need these later.

Create Custom Form 10.Create your own form in Dreamweaver. 11.Set the form action to the Google action. 12.Instead of a Submit input, create a Button. Set the action to "postContactToGoogle()"

Include JQuery 13.Include the JQuery library in your header: 14.Write the function in your header: function postContactToGoogle(){ }

Write "postContactToGoogle" function postContactToGoogle(){ var name = $('#myname').val(); var capital = $('#capital').val(); var food = $('input[name=food]:checked', '#ss-form').val(); if (name !== "") { $.ajax({ url: " dY5vmiCFb4uxmqXH4Lo/formResponse", data: {"entry_ " : name, "entry_ " : capital, “entry_ ” : food}, type: "POST", dataType: "xml", statusCode: { 0: function (){alert("Success 0!")}, 200: function (){alert("Success 200!")} } }); } else { /*Error message*/ } }

Notes on "postContactToGoogle" Values of the inputs are read into variables, using JQuery var name = $('#myname').val(); var capital = $('#capital').val(); Value of a radio selection can also be found using JQuery var food = $('input[name=food]:checked', '#ss-form').val(); The URL sent to AJAX should be the same as the form action url: " ow1dQSt-dY5vmiCFb4uxmqXH4Lo/formResponse" The DATA sent to AJAX should use the name labels from the Google form, with ‘.’ replaced by ‘_’ data: {"entry_ " : name, "entry_ " : capital, “entry_ ” : food}