Skip to content

Instantly share code, notes, and snippets.

@crosalot
Created July 17, 2013 05:00
Show Gist options
  • Save crosalot/6017808 to your computer and use it in GitHub Desktop.
Save crosalot/6017808 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>SUbmit form</title>
</head>
<body>
<script type="text/javascript">var popup_submitted=false;</script>
<iframe name="hidden_iframe" id="hidden_iframe" style="display: none;"
onload="if(popup_submitted) {window.location=window.location;}"></iframe>
<div class="question">เลือกช่วงเวลาที่สะดวกมาร่วมงาน</div>
<form action="https://docs.google.com/forms/d/1Z0KXi8VH6GWlf4TyGVLTuJ4jz8_mzIOw52NVhJB8yNs/formResponse" method="post" target="hidden_iframe"
onsubmit="submitted=true;">
<div class="answer radio">
<input type="radio" name="entry.1072569726" value="round-1" id="round-1">
<label for="round-1">รอบที่ 1 11.00-14.00 น. ต้องการอาสาสมัคร 160 คน</label>
</div>
<div class="answer radio">
<input type="radio" name="entry.1072569726" value="round-2" id="round-2">
<label for="round-2">รอบที่ 2 14.00-17.00 น. ต้องการอาสาสมัคร 160 คน</label>
</div>
<div class="answer radio">
<input type="radio" name="entry.1072569726" value="round-3" id="round-3">
<label for="round-3">รอบที่ 3 17.00-20.00 น. ต้องการอาสาสมัคร 160 คน</label>
</div>
<input type="hidden" name="entry.980567071" value="{{ user.email }}" />
<input type="hidden" name="entry.105441649" value="{{ user.get_profile.fbusername }}" />
<input type="hidden" name="draftResponse" value="[]" />
<input type="hidden" name="pageHistory" value="0" />
<input type="submit" value="ลงทะเบียน" />
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment