googleforms
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
googleforms [2015/02/26 15:02] – created donghee | googleforms [2018/07/18 14:10] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | 참고: | ||
+ | * How to style Google Forms http:// | ||
+ | * 구글폼 페이지 생성기: http:// | ||
+ | |||
+ | |||
+ | ====== 구글폼 테마 수정하기 ====== | ||
+ | |||
+ | 1. 구글폼 링크 https:// | ||
+ | |||
+ | 2. 구글폼 소스에서 < | ||
+ | |||
+ | 3. 완료 페이지 주소 수정하기. | ||
+ | |||
+ | < | ||
+ | <form action=" | ||
+ | </ | ||
+ | 를 | ||
+ | < | ||
+ | <script type=" | ||
+ | |||
+ | <iframe name=" | ||
+ | style=" | ||
+ | {window.location=' | ||
+ | <form action=" | ||
+ | </ | ||
+ | 로 바꾸기. 구글폼의 기본 타켓을 숨겨진 iframe으로 보내고. 끝날때 보이고 싶은 링크는 http:// | ||
+ | |||
+ | 4. 예제 페이지 | ||
+ | |||
+ | < | ||
+ | <script type=" | ||
+ | |||
+ | <iframe name=" | ||
+ | style=" | ||
+ | {window.location=' | ||
+ | |||
+ | <form action=" | ||
+ | <div class=" | ||
+ | <div dir=" | ||
+ | <label class=" | ||
+ | <label for=" | ||
+ | <span class=" | ||
+ | <div class=" | ||
+ | <input type=" | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | </ | ||
+ | <div dir=" | ||
+ | <label class=" | ||
+ | <label for=" | ||
+ | <span class=" | ||
+ | <div class=" | ||
+ | <input type=" | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | </ | ||
+ | <div dir=" | ||
+ | <label class=" | ||
+ | </ | ||
+ | <div class=" | ||
+ | < | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | </ | ||
+ | <input type=" | ||
+ | "> | ||
+ | <input type=" | ||
+ | |||
+ | |||
+ | <input type=" | ||
+ | |||
+ | <div class=" | ||
+ | <input type=" | ||
+ | <div class=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
< | < | ||
+ | <script type=" | ||
+ | |||
+ | <iframe name=" | ||
+ | style=" | ||
+ | {window.location=' | ||
- | <form action=" | + | <form action=" |
<div class=" | <div class=" | ||
<div dir=" | <div dir=" | ||
Line 41: | Line 126: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | 5. jquery validate | ||
+ | |||
+ | form을 그냥 복사하면 필수 항목의 처리가 안된다. 그래서 jquery.validate.js를 이용하여 필수 항목을 처리를 하자. | ||
+ | |||
+ | http:// | ||
+ | |||
+ | < | ||
+ | <script src=" | ||
+ | <script src=" | ||
+ | |||
+ | <script type=" | ||
+ | $(document).ready(function() { | ||
+ | $("# | ||
+ | }); | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | 6. form에 commentForm id를 추가. 왜? | ||
+ | |||
+ | < | ||
+ | <form action=" | ||
+ | method=" | ||
+ | </ | ||
+ | |||
+ | 7. input 필드에 required class를 추가 | ||
+ | |||
+ | < | ||
+ | <input type=" | ||
+ | </ | ||
+ | |||
+ | 8. required input 필드에 title로 validate 에러 메시지 적기 | ||
+ | |||
+ | < | ||
+ | <input type=" | ||
+ | </ | ||
+ | |||
+ | 9. error 메시지 css 추가 | ||
+ | |||
+ | < | ||
+ | label.error { | ||
+ | display: list-item; | ||
+ | color: #ff0600; | ||
+ | font-size: 12px; | ||
+ | list-style-position: | ||
+ | padding: 5px 0 0;} | ||
+ | </ | ||
+ | |||
+ | 10. Email validate 체크 | ||
+ | |||
+ | < | ||
+ | <input type=" | ||
+ | </ | ||
+ | |||
+ |
googleforms.1424962972.txt.gz · Last modified: 2018/07/18 14:09 (external edit)