[pLog-svn] r591 - plog/trunk/templates/wizard
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Wed Dec 29 00:34:58 GMT 2004
Author: oscar
Date: 2004-12-29 00:34:58 +0000 (Wed, 29 Dec 2004)
New Revision: 591
Added:
plog/trunk/templates/wizard/validate.template
Log:
looks like I forgot the validate.template!!
Added: plog/trunk/templates/wizard/validate.template
===================================================================
--- plog/trunk/templates/wizard/validate.template 2004-12-28 15:02:34 UTC (rev 590)
+++ plog/trunk/templates/wizard/validate.template 2004-12-29 00:34:58 UTC (rev 591)
@@ -0,0 +1,9 @@
+{** use this file to automatically handle validation errors in form fields **}
+{if $form->formHasRun()}
+ {if !$form->isFieldValid($field)}
+ <div class="fieldValidationError">
+ <span style="background:red;color:white;font-weight:bold"> ! </span>
+ {$message}
+ </div>
+ {/if}
+{/if}
\ No newline at end of file
More information about the pLog-svn
mailing list