Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 2 matches
Smarty Forum Index
Author Message
  Topic: isDate on {html_select_date}
grandma

Replies: 11
Views: 17533

PostForum: Add-ons   Posted: Thu Dec 02, 2004 11:21 am   Subject: isDate on {html_select_date}
I have a similar `problem´ with "isDate":
the date fields (generated with {html_select_date}) can be left blank, but if the user enters some values, it should be a valid date (ie not a single month v ...
  Topic: smartyValidate criteria usuage {if} {else}
grandma

Replies: 1
Views: 6097

PostForum: Add-ons   Posted: Thu Dec 02, 2004 11:09 am   Subject: check out the README!
ad 1. dummyValid
----------

example:
{validate field="StartDate" criteria="dummyValid" transform="makeDate"}

"dummyValid": this is a dummy criteria that always validates to true. This ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP