Skip to content
[Docs]스프레드시트
2016.08.13 08:26

구글 스프레드시트 설문지 내맘대로 수정하기

조회 수 11616 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부


구글 스프레드시트 설문지 내맘대로 수정하기


설문지 양식이 마음에 안들어 HTML 자체제작으로 형식을 변경하고 싶었습니다.

그런데 정말이지 초보자에게는 쉽지않은 터라 포기하던 중

우연히 SPREADSHEETS DATABASE 라고 검색하다가 쉽게 변형할 수 있는 업로더가 있었습니다.

따라해보니 너무 잘 되네요.


이런식이라면 수정도 가능하겠습니다.


그리고importrange 변수로 데이터를 불러들이고, 

각각의 데이터에 수정버튼을 달아서 수정작업도 하고,

데이터 추가까지 가능하게 됩니다.


데이터 수정관련 동영상



으아,,,, 제가 바라던 건데요...


구글 드라이브로 사진 업로드까지 가능하다면???


혹시 소스 잘 건드리시는 분 홈페이지에 올려주시거나 메일로 소스 좀 주세요.


 



게시일: 2015. 9. 15.
Google forms are useful as a graphical user interface to input data into Google spreadsheets. But Google forms design and layout will not be editable when we embed it into a webpage. 

Here I've a solution to directly input data into Google spreadsheet from html form of a webpage which is more convenient for web hosting and webpages layout and design.

Next, I am planning to make a video on " How to query data (like SQL) of google spreadsheet ". If anyone interested/already has solution, you can post in comments.

Google spreadsheets to questionnaires, and collected in my heart.


If you think my video was useful, please subscribe to my channel and like.

For the source file click on the below link...


필요한 파일 다운로드 하기




설문지를 변형 하고자 하시던 분들은 설문지 작성까지는 다 하실꺼라 생각됩니다.

이후부터 설명해 보겠습니다.

제가 작성한 설문지


구글 스프레드시트 설문지.png


간단하게 텍스트입력으로 2가지 질문을 응답받는 설문지를 작성했습니다.



설문지양식 웹 소스보기

이 설문지 양식을 웹에서 띄운 후 소스보기를 합니다.

구글 스프레드시트 설문지 소스에서 정보추출하기.png



1. <form 부분에서 action= 주소를 찾아 복사합니다.


2. 질의1에 해당하는 entry뒤의 값을 복사합니다.

3. 질의2에 해당하는 entry뒤의 값을 복사합니다.


html to ss.html 파일 소스를 수정하기


<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js">
</script>
<script>
function postContactToGoogle() {
var fullname=$('#fullname').val();
var mobilenumber=$('#mobilenumber').val();
$.ajax({
url:"폼값전송할 주소입력",data:{"entry_질의1엔터리번호":fullname,"entry_질의2엔터리번호":mobilenumber,},type:"POST",dataType:"xml",statusCode: {0:function() { window.location.replace("thankyou.html");},200:function(){window.location.replace("thankyou.html");}}
});
}
</script>
<style>
.FormRequest {
background: lightyellow;
width:400px;
height:250px;
border:1px solid blue;
border-radius:10px 10px 10px 10px;
}
.FormRequest #formRequest{
margin-left:20px;
font-family:consolas;
color: blue;
}
.FormRequest #formRequest input[type="button"],input[type="reset"]{
border:1px solid green;
background: darkred;
color:white;
border-radius:3px 3px 3px 3px;
}
</style>
</head>
<body bgcolor="silver">



html문서로 값 전달하기

html to ss.html 을 실행해서 기록하면 테스트 설문지와 연동되는 시트에 글이 써집니다.

구글 스프레드시트 데이터 기록.png


ajax 설명글이 있는데 현재는 안되는 것 같네요.
여튼 이 방법은 현재까지 되고 있습니다.
#구글 #스프레드시트 #설문지 #내맘대로 #수정하기 #urin79
로그인 후 댓글쓰기가 가능합니다.

?

  1. 09
    Mar 2023
    09:51

    스프레드시트에서 삽입 버튼 만들기(chatGPT 에게 물어봄)

    Category[Docs]스프레드시트 Views1398
    Read More
  2. 10
    Mar 2023
    10:14

    스프레드시트의 값의 변화에 따라 지메일로 메일을 보내는 스크립트

    Category[Docs]스프레드시트 Views1623
    Read More
  3. 09
    Mar 2023
    09:59

    스프레드시트에서 수정, 삭제 버튼 만들기

    Category[Docs]스프레드시트 Views1692
    Read More
  4. 09
    Mar 2023
    09:57

    스프레드시트에서 검색 버튼 만들기

    Category[Docs]스프레드시트 Views2019
    Read More
  5. 10
    Mar 2023
    10:23

    H열에 날짜가 10일 안으로 다가왔다면 메일을 발송하는 스크립트

    Category[Docs]스프레드시트 Views2190
    Read More
  6. 10
    Mar 2023
    10:18

    구글 스프레드시트 스크립트를 사용하여 지메일로 이메일을 보내기

    Category[Docs]스프레드시트 Views2640
    Read More
  7. 26
    Sep 2021
    22:00

    구글 스프레드시트 쿼리 사용하기 #2

    Category[Docs]스프레드시트 Views3045
    Read More
  8. 11
    Nov 2014
    08:22

    쇼킹한 웹 긁어오기

    Category[Docs]스프레드시트 Views3903
    Read More
  9. 18
    Nov 2015
    02:24

    Google 문서도구를 컴퓨터에 동기화

    Category[Docs]스프레드시트 Views4377
    Read More
  10. 10
    Feb 2015
    23:12

    구글 스프레드시트(Google Spreadsheet)를 데이터베이스로 활용

    Category[Docs]스프레드시트 Views4521
    Read More
  11. 09
    Jul 2015
    07:58

    구글드라이브 API

    Category[Docs]스프레드시트 Views4541
    Read More
  12. 10
    Feb 2015
    23:26

    Extending Google Sheets

    Category[Docs]스프레드시트 Views4646
    Read More
  13. 24
    Jun 2016
    18:09

    스프레드 웹게시로 불러오기

    Category[Docs]스프레드시트 Views4704
    Read More
  14. 27
    Dec 2020
    10:56

    스프레드시트 함수

    Category[Docs]스프레드시트 Views4822
    Read More
  15. 26
    Dec 2020
    16:10

    스프레드시트 스크립트 소스

    Category[Docs]스프레드시트 Views4864
    Read More
  16. 20
    Jul 2015
    23:07

    구글 스프레드시트(Google Spreadsheet)를 데이터베이스로 활용하기

    Category[Docs]스프레드시트 Views5077
    Read More
  17. 08
    Aug 2016
    00:03

    스프레드시트 api append & update php 셀 내용 수정

    Category[Docs]스프레드시트 Views5313
    Read More
  18. 26
    Sep 2021
    22:54

    구글 스프레드시트 쿼리 사용하기 #3 날짜편

    Category[Docs]스프레드시트 Views6134
    Read More
  19. 06
    Aug 2016
    11:46

    구글 드라이브에서 다른 파일 데이터 참조하기

    Category[Docs]스프레드시트 Views6323
    Read More
  20. 26
    Jan 2022
    19:45

    [구글스프레드시트] 현재의 셀주소 참조(address, cell)

    Category[Docs]스프레드시트 Views6345
    Read More
Board Pagination Prev 1 2 Next
/ 2

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소