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

Validate assign="var" feature

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
schoenung
Smarty Rookie


Joined: 05 Apr 2004
Posts: 28

PostPosted: Thu Jul 22, 2004 1:56 pm    Post subject: Validate assign="var" feature Reply with quote

I'm trying to use the assign="var" in the validate add-on, because having such a long {validate ........} in place unnerves the template designer. I intend to add all of the {validate ...} to the top of the page so that they do not distort the template during the creative design process. (designers!)

Anyway I'm unable to get this feature to work. Inline works well. I thought it should be as simple as

{validate ............ assign="err"}

then else where I would have

{$err}

this does not seem to work. Advice? Confused
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Thu Jul 22, 2004 1:58 pm    Post subject: Reply with quote

That is exactly how it should work, it seems to work for me? Are you using latest release, or CVS, or?
Back to top
View user's profile Send private message Visit poster's website
kills
Smarty Elite


Joined: 28 May 2004
Posts: 493

PostPosted: Thu Jul 22, 2004 2:02 pm    Post subject: Reply with quote

your code?
Back to top
View user's profile Send private message
schoenung
Smarty Rookie


Joined: 05 Apr 2004
Posts: 28

PostPosted: Fri Jul 23, 2004 5:38 pm    Post subject: fixed Reply with quote

It appears it was a browser cache problem. Everythings work correctly after flushing the cache.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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