Skip to content
This repository
Newer
Older
100644 64 lines (40 sloc) 1.458 kb
21abc5ba »
2002-02-11 Initial revision
1
bea82617 »
2004-11-19 added log_wrap_size, configurable wrap size for all logs, fixed a bug…
2 <erl>
21abc5ba »
2002-02-11 Initial revision
3
bea82617 »
2004-11-19 added log_wrap_size, configurable wrap size for all logs, fixed a bug…
4 out(A) ->
20ece13a »
2004-12-02 more css hackery
5 {ssi, "TAB.inc", "%%",[{"form", "choosen"}]}.
bea82617 »
2004-11-19 added log_wrap_size, configurable wrap size for all logs, fixed a bug…
6
7 </erl>
21abc5ba »
2002-02-11 Initial revision
8
9
bea82617 »
2004-11-19 added log_wrap_size, configurable wrap size for all logs, fixed a bug…
10 <div id="entry">
e35a5918 »
2004-12-09 more w3c compliance
11 <h2>POST example </h2>
12
13 <p>This is a simple example where we get to fill in
14 a series of fields and POST the data by hitting the Submit button
15 at the end.
16 </p>
17 <p>
18 The action is set to the yaws file <tt>/post.yaws </tt> which
19 gets POSTed data in its <tt>ARG#arg.clidata</tt> field.
20 </p>
21
22 <form method="post"
23 action="/post.yaws">
24
25 This is a serious poll.
26
27 <p>Your favourite programming language? </p>
28 <input name="lang" type="text" size="48" />
29
30 <p>Imperative ? <input name="imperative" type="checkbox"/></p>
31
32 <p>How many tabs to you indent? <input name="tabs" type="text" /></p>
33
34 <p>Which OS do you use?</p>
35
36 <ol>
37 <li>Windows 95 pro ultra
38 <input name="os1" type="checkbox" value="w95"/></li>
39
40 <li>Windows XP beta cracked
41 <input name="os2" type="checkbox" value="xpbeta" /></li>
42 <li>Windows
43 <input name="os3" type="checkbox" value="windows"/></li>
44 <li>Other<input name="other" size="40" /></li>
45 </ol>
46
47 <p>Your email <input name="contact" size="42" /></p>
48
49 <p>Submit this POST to get an explanation of how to process the
50 POSTed data.</p>
51
52 <p><input type="submit" /> <input type="reset" /></p>
53
54 </form>
55
bea82617 »
2004-11-19 added log_wrap_size, configurable wrap size for all logs, fixed a bug…
56 </div>
57
58
59
60 <erl>
61 out(A) -> {ssi, "END2",[],[]}.
62 </erl>
21abc5ba »
2002-02-11 Initial revision
63
Something went wrong with that request. Please try again.