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 13 matches
Smarty Forum Index
Author Message
  Topic: SmartyValidate 3.0 released
robdawg

Replies: 13
Views: 96193

PostForum: Add-ons   Posted: Sat Sep 24, 2011 6:05 pm   Subject: SmartyValidate 3.0 released
I think I might of found a possible issue.

In file function.validate.php on line 144 you will find this:
$_sess['is_init'] = false;

The above line will get called on each validator, so anything ...
  Topic: SmartyValidate 3.0 released
robdawg

Replies: 13
Views: 96193

PostForum: Add-ons   Posted: Fri Sep 23, 2011 3:22 pm   Subject: SmartyValidate 3.0 released
Here is my PHP Code:
http://pastebin.com/7qF4T5LY

Here is my HTML Code:
http://pastebin.com/NVfzfJ0e

I am using the latest version of Smarty and SmartyValidate.

Thanks again for checking th ...
  Topic: SmartyValidate 3.0 released
robdawg

Replies: 13
Views: 96193

PostForum: Add-ons   Posted: Fri Sep 23, 2011 1:57 pm   Subject: SmartyValidate 3.0 released
Quick issue again, anyone having a problem with only the FIRST validator returning the error message?

I have 3 validators that append the error message to a variable and only the first error is get ...
  Topic: SmartyValidate 3.0 released
robdawg

Replies: 13
Views: 96193

PostForum: Add-ons   Posted: Thu Feb 10, 2011 3:25 pm   Subject: SmartyValidate 3.0 released
Great!

This worked but I also had to remove the "_" from the filename as well.

All good now, thanks again!
  Topic: SmartyValidate 3.0 released
robdawg

Replies: 13
Views: 96193

PostForum: Add-ons   Posted: Thu Feb 10, 2011 3:03 pm   Subject: SmartyValidate 3.0 released
Anyone having a problem with register_validator?

I have a file in the plugins directory named: validate_criteria.isValidForgotPassword.php

Inside that file, I have a function named: smarty_valid ...
  Topic: Smarty 3 and SmartyValidate
robdawg

Replies: 0
Views: 3438

PostForum: Smarty 3   Posted: Sun Jun 06, 2010 6:17 pm   Subject: Smarty 3 and SmartyValidate
NM, got it to work.

Mistake on my end... DOH@!
  Topic: SmartyValidate and session_name()
robdawg

Replies: 0
Views: 5205

PostForum: Plugins   Posted: Sun Jul 31, 2005 4:11 pm   Subject: SmartyValidate and session_name()
I have been using session_name() with SmartyValidate because I was having problems with session not starting properly.

Basically I would submit a blank form on the first pass through and get all th ...
  Topic: Form not returning errors...
robdawg

Replies: 1
Views: 6368

PostForum: Add-ons   Posted: Thu Jul 21, 2005 9:07 pm   Subject: Form not returning errors...
Here is my PHP Code.

if (empty($_POST)) {
SmartyValidate::connect($smarty, true);
SmartyValidate::register_form('Registration');
Smarty ...
  Topic: [RESOLVED] Smarty Validate Reference Error with PHP 4.4.0
robdawg

Replies: 2
Views: 7467

PostForum: Add-ons   Posted: Thu Jul 21, 2005 9:04 pm   Subject: [RESOLVED] Smarty Validate Reference Error with PHP 4.4.0
thanks for the response. fixed it.
  Topic: [RESOLVED] Smarty Validate Reference Error with PHP 4.4.0
robdawg

Replies: 2
Views: 7467

PostForum: Add-ons   Posted: Thu Jul 21, 2005 7:00 pm   Subject: [RESOLVED] Smarty Validate Reference Error with PHP 4.4.0
Notice: Only variable references should be returned by reference in /www/r/robdawg/htdocs/libs/SmartyValidate.class.php on line 614

I have the latest version of smarty from CVS. The form doesn't e ...
  Topic: Problem with latest version of smarty validate.
robdawg

Replies: 2
Views: 7212

PostForum: Add-ons   Posted: Wed Jul 20, 2005 8:34 pm   Subject: Problem with latest version of smarty validate.
Nevermind I figured this one out.

When in the validation function, $params['field'] needs to be unique. So I switched how I setup my register_criteria.

BEFORE:
pixelAuctionsPlusCheck:firstName ...
  Topic: Problem with latest version of smarty validate.
robdawg

Replies: 2
Views: 7212

PostForum: Add-ons   Posted: Wed Jul 20, 2005 7:03 pm   Subject: Problem with latest version of smarty validate.
Here is my PHP Code:

if (empty($_POST)) {
SmartyValidate::connect($smarty, true);
SmartyValidate::register_form('Registration');
Smarty ...
  Topic: SmartyValidate Question - register_object/register_criteria
robdawg

Replies: 1
Views: 6640

PostForum: Plugins   Posted: Tue Jul 19, 2005 9:08 pm   Subject: SmartyValidate Question - register_object/register_criteria
Smarty Version: Latest from CVS
SmartyValidate Version: Latest from CVS
PHP Version: 5

I have got this working but I want to make sure that I have it setup properly.

Here is what I have curren ...
 
Page 1 of 1
All times are GMT
Jump to:  


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