File: tc_form_action.html

package info (click to toggle)
ruby-mechanize 2.7.6-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,480 kB
  • sloc: ruby: 11,380; makefile: 5; sh: 4
file content (48 lines) | stat: -rw-r--r-- 1,295 bytes parent folder | download | duplicates (10)
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
<html>
  <head><title>Page Title</title></head>
  <body>
    <h1>Post Form 1</h1>
    <form name="post_form1" method="post" action="/form_post?a=b&amp;b=c">
      <table>
        <tr>
          <td>First Name</td>
          <td><input type="text" name="first_name" /></td>
        </tr>
      </table><br />
      <input type="submit" value="Submit" />
    </form>

    <h1>Post Form 2</h1>
    <form name="post_form2" method="get" action="/form_post?a=b&amp;b=c">
      <table>
        <tr>
          <td>First Name</td>
          <td><input type="text" name="first_name" /></td>
        </tr>
      </table><br />
      <input type="submit" value="Submit" />
    </form>

    <h1>Post Form 3</h1>
    <form name="post_form3" method="post" action="/form_post?a=b&b=c">
      <table>
        <tr>
          <td>First Name</td>
          <td><input type="text" name="first_name" /></td>
        </tr>
      </table><br />
      <input type="submit" value="Submit" />
    </form>

    <h1>Post Form 4</h1>
    <form name="post_form4" method="post" action="/form_post#1">
      <table>
        <tr>
          <td>First Name</td>
          <td><input type="text" name="first_name" /></td>
        </tr>
      </table><br />
      <input type="submit" value="Submit" />
    </form>
  </body>
</html>