[Rt-commit] r11774 - rt/branches/3.8-TESTING/html/installation
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Apr 17 21:48:39 EDT 2008
Author: sunnavy
Date: Thu Apr 17 21:48:39 2008
New Revision: 11774
Modified:
rt/branches/3.8-TESTING/html/installation/Step3.html
Log:
highlight the invalid inputs
Modified: rt/branches/3.8-TESTING/html/installation/Step3.html
==============================================================================
--- rt/branches/3.8-TESTING/html/installation/Step3.html (original)
+++ rt/branches/3.8-TESTING/html/installation/Step3.html Thu Apr 17 21:48:39 2008
@@ -61,7 +61,10 @@
% if ( $_ eq 'TimeZone' ) {
<& /Elements/SelectTimezone, Name => 'Timezone', &>
% } else {
-<input type="text" name="<% $_ %>" value="<% $ARGS{$_} || $session{InstallConfig}{$_} %>" />
+<input type="text" <% ( $_ eq 'MininumPasswordLength' || $_ eq
+'MaxAttachmentSize' ) ? q[onchange="this.value.match(/^\d+$/) ?
+this.style.background='white' : this.style.background='red'" ]: () |n %>
+name="<% $_ %>" value="<% $ARGS{$_} || $session{InstallConfig}{$_} %>" />
% }
</td>
</tr>
More information about the Rt-commit
mailing list