[Bps-public-commit] r17173 - RT-FormTools/html/FormTools
jesse at bestpractical.com
jesse at bestpractical.com
Thu Dec 11 15:31:52 EST 2008
Author: jesse
Date: Thu Dec 11 15:31:49 2008
New Revision: 17173
Modified:
RT-FormTools/html/FormTools/Field
Log:
* show cf validation information in the formtools ui
Modified: RT-FormTools/html/FormTools/Field
==============================================================================
--- RT-FormTools/html/FormTools/Field (original)
+++ RT-FormTools/html/FormTools/Field Thu Dec 11 15:31:49 2008
@@ -76,6 +76,10 @@
($default ? (Default => $default) : ())
&>
+% if ($cf->FriendlyPattern) {
+ <% loc("Input must match [_1]", $cf->FriendlyPattern) %>
+%}
+
% } elsif ($render_as =~ /^radio/) {
% my $selected = 0;
% my $id = $NamePrefix . $cf->Id;
More information about the Bps-public-commit
mailing list