Skip to content

Commit

Permalink
Client side validation of form-user (#695)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Panteleev <sergey@php.net>
  • Loading branch information
cmb69 and saundefined authored Jul 9, 2024
1 parent b62077a commit 7b11b96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manual/add-note.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@
</td>
</tr>
<tr>
<th class="subr"><label for="form-user">Your email address (or name)</label>:</th>
<td><input id="form-user" type="text" name="user" size="60" maxlength="40" required value="<?php echo clean($_POST['user']); ?>"></td>
<th class="subr"><label for="form-user">Your email address</label>:</th>
<td><input id="form-user" type="email" name="user" size="60" maxlength="40" required value="<?php echo clean($_POST['user']); ?>"></td>
</tr>
<tr>
<th class="subr"><label for="form-note">Your notes</label>:</th>
Expand Down

0 comments on commit 7b11b96

Please sign in to comment.