The Toolkit for Online Communities
18814 Community Members, 0 members online, 1760 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : ad_form select fields howto : One Message

Forum OpenACS Q&A: ad_form date validation solution

Posted by Stan Kaufman on
Well, I've found that this works. No clue whether this is the Right Way To Do It, but maybe any way that works is the right way:

} -validate {
  {start_date {[template::util::date::validate $start_date ""]} "" }

If there's a better way, I hope someone posts it!