[dw-free] As pointed out by
ttuttle, we don't turn off autocomplete
[commit: http://hg.dwscoalition.org/dw-free/rev/141a2c2d6cd3]
As pointed out by
ttuttle, we don't turn off autocomplete on
these fields. We should. Even though this is not part of the standards, it's
a good idea to do.
Patch by
mark.
Files modified:
As pointed out by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
these fields. We should. Even though this is not part of the standards, it's
a good idea to do.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- htdocs/shop/entercc.bml
-------------------------------------------------------------------------------- diff -r 3db64058a3b6 -r 141a2c2d6cd3 htdocs/shop/entercc.bml --- a/htdocs/shop/entercc.bml Wed Dec 07 23:21:23 2011 +0800 +++ b/htdocs/shop/entercc.bml Wed Dec 07 21:51:31 2011 +0000 @@ -100,8 +100,8 @@ zip => LJ::html_text({ name => 'zip', id => 'zip', maxlength => 20, value => $POST{zip} }), phone => LJ::html_text({ name => 'phone', id => 'phone', maxlength => 40, value => $POST{phone} }), '--' => '', - ccnum => LJ::html_text({ name => 'ccnum', id => 'ccnum', maxlength => 19 }) . $accepted_ccs, - cvv2 => LJ::html_text({ name => 'cvv2', id => 'cvv2', maxlength => 4, size => 5 }), + ccnum => LJ::html_text({ name => 'ccnum', id => 'ccnum', maxlength => 19, autocomplete => 'off' }) . $accepted_ccs, + cvv2 => LJ::html_text({ name => 'cvv2', id => 'cvv2', maxlength => 4, size => 5, autocomplete => 'off' }), expmon => LJ::html_select({ name => 'expmon', id => 'expmon', selected => $POST{expmon} }, map { $_ => LJ::Lang::month_long_ml( $_ ) . " - " . sprintf( '%0.2d', $_ ); } 1..12 ), expyear => LJ::html_select({ name => 'expyear', id => 'expyear', selected => $POST{expyear} }, map { $_ => $_ } 2011..2020 ), ); --------------------------------------------------------------------------------