1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Client side validation of form-user (#695)

Co-authored-by: Sergey Panteleev <sergey@php.net>
This commit is contained in:
Christoph M. Becker
2024-07-09 09:33:09 +02:00
committed by GitHub
parent b62077acae
commit 7b11b960e4

View File

@@ -355,8 +355,8 @@ else {?>
</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>