Author |
Message |
Topic: SmartyValidate 2.7 released |
arne_anka
Replies: 49
Views: 292475
|
Forum: Add-ons Posted: Sat Aug 05, 2006 5:25 pm Subject: SmartyValidate 2.7 released |
i have the following problem when trying to run the example included in smartyValidate's docs:
PHP Fatal error: Smarty error:
you probably either did not install SmartyValidate correctly or y ... |
Topic: SmartyValidate 2.7 released |
arne_anka
Replies: 49
Views: 292475
|
Forum: Add-ons Posted: Wed Jul 19, 2006 6:21 pm Subject: SmartyValidate 2.7 released |
I get this error, when try to validate a form:
Notice: SmartyValidate:
How can I fix it?
according to my limited experience it means usually, that you need to do
SmartyValidate::conn ... |
Topic: SmartyValidate 2.7 released |
arne_anka
Replies: 49
Views: 292475
|
Forum: Add-ons Posted: Mon Jul 17, 2006 8:55 am Subject: SmartyValidate 2.7 released |
seems, the validator ignores setting fields to "may be empty", i e
SmartyValidate::register_validator('phone', 'Phone', 'isNumber', true, false, 'trim');
if i try the example g ... |
Topic: SmartyValidate: php-warnings when sending empty form |
arne_anka
Replies: 1
Views: 8107
|
Forum: Add-ons Posted: Fri Jul 14, 2006 12:09 pm Subject: SmartyValidate: php-warnings when sending empty form |
well, only those with empty=true, i e
SmartyValidate::register_validator($id, $field, $criteria, $empty = true)
trigger warnings, so it is rather a bug. |
Topic: SmartyValidate: php-warnings when sending empty form |
arne_anka
Replies: 1
Views: 8107
|
Forum: Add-ons Posted: Fri Jul 14, 2006 10:03 am Subject: SmartyValidate: php-warnings when sending empty form |
hi,
i just stumpled upon SmartyValidate and tried the given example (http://www.phpinsider.com/php/code/SmartyValidate/).
if i send the empty form i get
Warning: in_array()
i think the logic ... |
Topic: application design |
arne_anka
Replies: 2
Views: 4421
|
Forum: General Posted: Mon Jun 26, 2006 3:44 pm Subject: application design |
hi,
i only just begun to dig into smarty and the question occured to me how to design a bigger smarty-based application.
having one big single php-script serving all requests and delivering differen ... |
|