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 6 matches
Smarty Forum Index
Author Message
  Topic: SmartyValidate: a simple yet powerful form validation plugin
pabianjs

Replies: 268
Views: 1404968

PostForum: Add-ons   Posted: Thu Jul 22, 2004 8:24 pm   Subject: validation dependencies and logical operators
If your going to stray down that path of using operators which might roll into dependency checking i vote no.

The business logic should handle those questions.

My vote is for the developer to ...
  Topic: Clearing the form input field when an error occured?
pabianjs

Replies: 5
Views: 17779

PostForum: Add-ons   Posted: Thu Jul 15, 2004 1:48 pm   Subject: Clearing the form input field when an error occured?
first both of you brought up good points. after my post i went back and looked at the validator class and recognized it probabally wouldnt be as easy as i thought.. mohrt you are right about the other ...
  Topic: Clearing the form input field when an error occured?
pabianjs

Replies: 5
Views: 17779

PostForum: Add-ons   Posted: Wed Jul 14, 2004 9:04 pm   Subject: Clearing the form input field when an error occured?
hi guys,

as of now, it doesn't appear that the validator clears the input field, if that input fails the validation.

is it out of the question to get it to do so? the wiped input field would j ...
  Topic: does the append function attribute work
pabianjs

Replies: 7
Views: 21562

PostForum: Add-ons   Posted: Wed Jun 30, 2004 7:41 pm   Subject: does the append function attribute work
i will check out the new code shortly and perform some tests.

im kinda on the fence regarding the issue of when a person could use the appended variable.. i was stumped at first as to why it wasnt ...
  Topic: does the append function attribute work
pabianjs

Replies: 7
Views: 21562

PostForum: Add-ons   Posted: Tue Jun 29, 2004 9:24 pm   Subject: append now working
the validator tags must be called prior to using the assign or the append function attribute

{$app_error}
{validate....... assign='app_error'}
this does not work

this will show up in debug con ...
  Topic: does the append function attribute work
pabianjs

Replies: 7
Views: 21562

PostForum: Add-ons   Posted: Mon Jun 28, 2004 9:53 pm   Subject: does the append function attribute work
first thanks again mont.. good stuff

im using the 2.2-b1 of SmartyValidate

im assigning error messages to appError via the append function attribute

{ ..... message="helo", append=appError } ...
 
Page 1 of 1
All times are GMT
Jump to:  


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