[whatwg] Confirming passwords and such

Jason Lustig jasonlustig at adelphia.net
Tue Jun 29 10:29:14 PDT 2004


Will Levine wrote:
> <label>Enter Password<input type="password" name="beef" id="foo"></label>
> <label>Confirm Password<input type="password" confirm="foo"
> name="checkfoo"></label>

An excellent idea - this might be more clean though, with validate="foo" 
rather than confirm="foo"...

<label for="foo">Password:</label> <input type="password" name="beef" 
id="foo" />
<label for="confirm">Confirm Password:</label> <input type="password" 
name="confirm" id="confirm" validate="foo" />

Jason



More information about the whatwg mailing list