|
Revision 299, 2.0 kB
(checked in by schst, 3 years ago)
|
Allow several elements with the same name to be set in the form definitions (required by the parser, fixes bug #178),
Fixed bug in HTML attributes parser, fixed bug in HTML parser when using elements with the same name (as radio buttons)
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
<form name="foo" style="margin-bottom: 10px;"> |
|---|
| 2 |
|
|---|
| 3 |
<div class="piFrame"> |
|---|
| 4 |
<div class="piTitle">Area login</div> |
|---|
| 5 |
<div class="piContent"> |
|---|
| 6 |
|
|---|
| 7 |
<div class="piAbstract"> |
|---|
| 8 |
Please provide your credentials here to log into an area of your choice. |
|---|
| 9 |
</div> |
|---|
| 10 |
|
|---|
| 11 |
<table border="0" cellpadding="2" cellspacing="0"> |
|---|
| 12 |
<tr> |
|---|
| 13 |
<td>Username</td> |
|---|
| 14 |
<td> |
|---|
| 15 |
<table cellpadding="0" cellspacing="0" border="0"> |
|---|
| 16 |
<tr> |
|---|
| 17 |
<td><input type="Text" name="name" size="8" label="Username" /></td> |
|---|
| 18 |
<td> Password </td> |
|---|
| 19 |
<td><input type="password" name="passwd" size="6" maxlength="6" label="Password"/></td> |
|---|
| 20 |
<td> Age </td> |
|---|
| 21 |
<td><input type="Text" name="age" size="2" patForms:type="Number"/></td> |
|---|
| 22 |
</tr> |
|---|
| 23 |
</table> |
|---|
| 24 |
</td> |
|---|
| 25 |
</tr> |
|---|
| 26 |
<tr> |
|---|
| 27 |
<td>Comments</td> |
|---|
| 28 |
<td><textarea name="comment" rows="4" cols="20" label="Comments">Foo Bar</textarea></td> |
|---|
| 29 |
</tr> |
|---|
| 30 |
<tr> |
|---|
| 31 |
<td>Login type</td> |
|---|
| 32 |
<td> |
|---|
| 33 |
<table cellpadding="0" cellspacing="0" border="0"> |
|---|
| 34 |
<tr> |
|---|
| 35 |
<td><input type="Radio" name="type" value="secure" label="Login-Type"></td> |
|---|
| 36 |
<td>Secure</td> |
|---|
| 37 |
</tr> |
|---|
| 38 |
<tr> |
|---|
| 39 |
<td><input type="Radio" name="type" value="insecure" label="Login-Type"></td> |
|---|
| 40 |
<td>Insecure</td> |
|---|
| 41 |
</tr> |
|---|
| 42 |
</table> |
|---|
| 43 |
</td> |
|---|
| 44 |
</tr> |
|---|
| 45 |
<tr> |
|---|
| 46 |
<td>Fast login</td> |
|---|
| 47 |
<td><input type="Checkbox" name="fast" value="yes" label="Fast Login"></td> |
|---|
| 48 |
</tr> |
|---|
| 49 |
<tr> |
|---|
| 50 |
<td>Superhero</td> |
|---|
| 51 |
<td> |
|---|
| 52 |
<select name="hero" size="1" label="Superhero"> |
|---|
| 53 |
<option value="supes">Superman |
|---|
| 54 |
<option value="bats">Batman</option> |
|---|
| 55 |
</select> |
|---|
| 56 |
</td> |
|---|
| 57 |
</tr> |
|---|
| 58 |
<tr> |
|---|
| 59 |
<td>Comics</td> |
|---|
| 60 |
<td> |
|---|
| 61 |
<select name="comics" size="3" multiple label="Commics"> |
|---|
| 62 |
<option value="supes">Superman |
|---|
| 63 |
<option value="bats">Batman</option> |
|---|
| 64 |
<option value="aquaman">Aquaman</option> |
|---|
| 65 |
</select> |
|---|
| 66 |
</td> |
|---|
| 67 |
</tr> |
|---|
| 68 |
</table> |
|---|
| 69 |
</div> |
|---|
| 70 |
</div> |
|---|
| 71 |
|
|---|
| 72 |
<input type="submit" name="save" value="Save" accesskey="S" /> |
|---|
| 73 |
|
|---|
| 74 |
</form> |
|---|