Skip to content

Commit ecd22d3

Browse files
committed
Update form layout
1 parent 825d660 commit ecd22d3

File tree

2 files changed

+2
-71
lines changed

2 files changed

+2
-71
lines changed

_layouts/register.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h1 class="has-text-centered">Register</h1>
66
<div class="content container">
77
<p class="has-text-centered">Fill the form to register yourself for <b>{{ page.title }}</b>. <br />Time:{{ page.time }}, Date:{{ page.date }}<br /> Venue: {{ page.venue }}<br />See you at the event!!</p>
88
</div>
9-
<form action="https://docs.google.com/forms/d/e/1FAIpQLScOdxIdpAcPXUcaoO9iOWzlqVc9-id3UZS2irB1xWp6Phmitg/formResponse"
9+
<form action="{{ page.form.formurl }}"
1010
target="_self"
1111
id="bootstrapForm"
1212
method="POST">

register.md

Lines changed: 1 addition & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ date: "29th July 2019"
66
time: "2 PM to 4 PM"
77
venue: "LT-1, IIPS, DAVV, Indore"
88
form:
9+
formurl: "https://docs.google.com/forms/d/e/1FAIpQLScOdxIdpAcPXUcaoO9iOWzlqVc9-id3UZS2irB1xWp6Phmitg/formResponse"
910
name-label: 826355120
1011
name: 2092238618
1112
email-label: 2071572813
@@ -21,73 +22,3 @@ form:
2122
fvv: 1
2223
fbzx: 4436870651230317346
2324
---
24-
<form action="https://docs.google.com/forms/d/e/1FAIpQLScOdxIdpAcPXUcaoO9iOWzlqVc9-id3UZS2irB1xWp6Phmitg/formResponse"
25-
target="_self"
26-
id="bootstrapForm"
27-
method="POST">
28-
29-
<!-- Field type: "short" id: "826355120" -->
30-
<fieldset>
31-
<legend for="826355120" class="label">Name</legend>
32-
<div class="form-group">
33-
<input id="2092238618" type="text" name="entry.2092238618" class="form-control" required>
34-
</div>
35-
</fieldset>
36-
37-
38-
<!-- Field type: "short" id: "2071572813" -->
39-
<fieldset>
40-
<legend for="2071572813">Email</legend>
41-
<div class="form-group">
42-
<input id="297764783" type="text" name="entry.297764783" class="form-control" required>
43-
</div>
44-
</fieldset>
45-
46-
47-
<!-- Field type: "short" id: "569514487" -->
48-
<fieldset>
49-
<legend for="569514487">Phone Number</legend>
50-
<div class="form-group">
51-
<input id="1966605262" type="text" name="entry.1966605262" class="form-control" required>
52-
</div>
53-
</fieldset>
54-
55-
56-
<!-- Field type: "short" id: "245385898" -->
57-
<fieldset>
58-
<legend for="245385898">College</legend>
59-
<div class="form-group">
60-
<input id="479301265" type="text" name="entry.479301265" class="form-control" required>
61-
</div>
62-
</fieldset>
63-
64-
65-
<!-- Field type: "short" id: "1517600930" -->
66-
<fieldset>
67-
<legend for="1517600930">Course</legend>
68-
<div class="form-group">
69-
<input id="1340835164" type="text" name="entry.1340835164" class="form-control" required>
70-
</div>
71-
</fieldset>
72-
73-
74-
<!-- Field type: "short" id: "1312689492" -->
75-
<fieldset>
76-
<legend for="1312689492">Semester</legend>
77-
<div class="form-group">
78-
<input id="1857009907" type="text" name="entry.1857009907" class="form-control" required>
79-
</div>
80-
</fieldset>
81-
82-
<input type="hidden" name="fvv" value="1">
83-
<input type="hidden" name="fbzx" value="4436870651230317346">
84-
<!--
85-
CAVEAT: In multipages (multisection) forms, *pageHistory* field tells to google what sections we've currently completed.
86-
This usually starts as "0" for the first page, then "0,1" in the second page... up to "0,1,2..N" in n-th page.
87-
Keep this in mind if you plan to change this code to recreate any sort of multipage-feature in your exported form.
88-
We're setting this to the total number of pages in this form because we're sending all fields from all the section together.
89-
-->
90-
<input type="hidden" name="pageHistory" value="0">
91-
92-
<input class="btn btn-primary" type="submit" value="Submit">
93-
</form>

0 commit comments

Comments
 (0)