File: form_with_fields.html

package info (click to toggle)
libwww-mechanize-perl 2.03-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 988 kB
  • sloc: perl: 4,088; makefile: 6
file content (51 lines) | stat: -rw-r--r-- 1,924 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<html>
<body>

<form action="http://localhost/" method="post" enctype="multipart/form-data" name="1st_form">
    <input type="text" name="1a"  />
    <input type="text" name="1b"  />
    <input type="Submit" name="submit" value="Submit" label="Submit" />
</form>

<form action="http://localhost/" method="post" name="2nd_form">
    <input type="text" name="opt[2]"  /> Like in PHP!
    <input type="text" name="1b"  />
    <input type="Submit" name="submit" value="Submit" label="Submit" />
</form>

<form action="http://localhost/" method="post" enctype="multipart/form-data" name="3rd_form_ambiguous">
    <input type="text" name="3a"  />
    <input type="text" name="3b"  />
    <input type="Submit" name="submit" value="Submit" label="Submit" />
</form>

<form action="http://localhost/" method="post" enctype="multipart/form-data" name="3rd_form_ambiguous">
    <input type="text" name="3c"  />
    <input type="text" name="3d"  />
    <input type="text" name="x"  />
    <input type="Submit" name="submit" value="Submit" label="Submit" />
</form>

<form action="http://localhost/" method="post" enctype="multipart/form-data" name="4th_form_1">
    <input type="text" name="4a"  />
    <input type="text" name="4b"  />
    <input type="text" name="x"  />
    <input type="Submit" name="submit" value="Submit" label="Submit" />
</form>

<form action="http://localhost/" method="post" enctype="multipart/form-data" name="4th_form_2">
    <input type="text" name="4a"  />
    <input type="text" name="4b"  />
    <input type="text" name="x"  />
    <input type="Submit" name="submit" value="Submit" label="Submit" />
</form>

<form action="https://localhost" method="post">
    <input type="hidden" name="5a" />
    <input type="hidden" name="5b" value />
    <input type="hidden" name="5c" value="" />
    <input type="hidden" name="5d" value="foo" />
    <input type="hidden" name="5e" value="value" />
</form>

</body>