Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 24 matches
Smarty Forum Index
Author Message
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Tue Jul 20, 2004 8:41 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
If you seriosly think of doing this, go ahead so I don't have to change too much code to incorporate the new framework. You have my full support for testing it.

Moving the validation criteria to t ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Tue Jul 20, 2004 8:07 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
I don't care where the validations are, in the template or the php code, as long as I have the flexibility to do complex validations with minimal work. Don't forget to incorporate into your framework ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Tue Jul 20, 2004 6:08 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
I would vote for this one. It really easy to read, use and understand.

{validate_group criteria="OR" message="something is wrong"}
{validate filed="filed1 ...
  Topic: problems w/ SmartyValidate and Regular expressions
hristov

Replies: 2
Views: 12756

PostForum: Add-ons   Posted: Wed Jul 14, 2004 3:15 am   Subject: problems w/ SmartyValidate and Regular expressions

{validate field="cst_SSN" criteria="isRegExp" expression="!^\d{6,10}$!" transform="trim" message="SSN/DLN may contain only 6-10 digits. &q ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Thu Jul 01, 2004 2:26 am   Subject: SmartyValidate: a simple yet powerful form validation plugin
Another idea:

{validate_group criteria="OR" message="something is wrong"}
{validate filed="filed1" criteria="notEmpty"}
{valid ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Wed Jun 30, 2004 4:21 am   Subject: 'OR' validation rules
@mohrt:
I guess you did not like much the idea for being able to 'OR' validations. As you know we can 'AND' validation rules now pretty easy. I was just wondering if there is way to implement 'OR' ...
  Topic: Formtool 1.1 released
hristov

Replies: 4
Views: 14192

PostForum: Add-ons   Posted: Tue Jun 29, 2004 1:09 am   Subject: Formtool 1.1 released
Morth: I like this quite a bit ... good job ...
________
[URL=http://www.mercedes-wiki.com/wiki/Mercedes-Benz_CLS-Class]Mercedes-Benz Cls-Class Specifications
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Thu Jun 24, 2004 2:36 am   Subject: CVS
I just CVS the code. The problem does not appear to be fixed. At least in the version I have - CVS version 1.15 of SmartyValidate.class.php

C:\Program Files\TortoiseCVS\cvs.exe -q update -d -P
CVS ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Thu Jun 24, 2004 2:30 am   Subject: CVS Details
morth
What tag/branch/revision should I CVS? HEAD or morth ?
________
[URL=http://hostndesign.com]HOST AND DESIGN
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Wed Jun 23, 2004 9:47 pm   Subject: SmartyValidate: a simple yet powerful form validation plugin
Yes ... I CVS the code this morning. I just CVS the code again, there was no updates available.

Are you using the most recent CVS? I committed the patch yesterday that solved xces' issue which sou ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Wed Jun 23, 2004 9:14 pm   Subject: Possible Solution
function connect(&$smarty, $reset = false) {
if(is_object($smarty) && ((get_class($smarty) == strtolower('smarty')) || is_ ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Wed Jun 23, 2004 9:10 pm   Subject: A little bit more research
After some research I found that

function _smarty_assign($var = 'validate') {

funtion gets called unly in the is_valid function. So on initial load of the page, where no $_POS ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Wed Jun 23, 2004 8:51 pm   Subject: $validate.default.is_error
I am trying to use $validate.default.is_error however I get a NOTICE


var_dump($_SESSION);

shows the following :

array(1) {
["SmartyValidate"]=> ...
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Wed Jun 23, 2004 8:41 pm   Subject: Development Process
What happen with the development process. This was one of the most active threads, and presonally my favorite to read.
________
[URL=http://www.suzuki-tech.com/wiki/Suzuki_Carry]Suzuki Carry History
  Topic: SmartyValidate: a simple yet powerful form validation plugin
hristov

Replies: 268
Views: 1423134

PostForum: Add-ons   Posted: Thu Jun 17, 2004 1:32 am   Subject: SmartyValidate: a simple yet powerful form validation plugin
As of right now we can AND criterias pretty well -- with multiple {validate ... } statements. If any criterias in single {validate ... } are ORed then we can achieve the result easyly.

If the ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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