mirror of
https://gitee.com/johng/gf
synced 2026-06-07 10:22:11 +08:00
30 lines
1.1 KiB
Go
30 lines
1.1 KiB
Go
|
|
<html>
|
|
<head>
|
|
<title>form test</title>
|
|
</head>
|
|
<body>
|
|
<h1>form1</h1>
|
|
<form action="?" method="post" enctype="multipart/form-data">
|
|
<p><input type="text" name="input1" value="1"/></p>
|
|
<p><input type="text" name="input2" value="2"/></p>
|
|
<p><input type="text" name="array1" value="3"/></p>
|
|
<p><input type="text" name="array1" value="4"/></p>
|
|
<p><input type="text" name="array2[]" value="5"/></p>
|
|
<p><input type="text" name="array2[]" value="6"/></p>
|
|
<p><input type="text" name="map[a]" value="7"/></p>
|
|
<p><input type="text" name="map[b]" value="8"/></p>
|
|
<p><input type="password" name="password1" value="9"/></p>
|
|
<input type="submit" value="Submit" />
|
|
</form>
|
|
|
|
<h1>form2</h1>
|
|
<form action="?" method="post" enctype="application/x-www-form-urlencoded">
|
|
<p><input type="text" name="input[a]" value="1"/></p>
|
|
<p><input type="text" name="input[b]" value="2"/></p>
|
|
<p><input type="text" name="array" value="3"/></p>
|
|
<p><input type="text" name="array" value="4"/></p>
|
|
<p><input type="password" name="password2" value="5"/></p>
|
|
<input type="submit" value="Submit" />
|
|
</form>
|
|
</body> |