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

smartyvalidate has big problem in websolution with frames

 
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
joey
Smarty Regular


Joined: 29 Oct 2003
Posts: 57

PostPosted: Thu Mar 17, 2005 4:06 am    Post subject: smartyvalidate has big problem in websolution with frames Reply with quote

I m developing a backend system . there are three HTML frames. left frame is menu . when user choose one function from menu , the smartyValidate will load the criterias.However user found that he get wrong.so that he change other function(has form too).SmartyValidate won't clear the session which before set.

That's a big problem. the solution is form name should be named different , and register in smartyvalidate before validate. but I got more than 100 files in backend system.so that it's a big problem for me.

have other solutions? please help me.
Formcat has {catform} block tags. so that it can identify different forms.I think it's a good way to solve.
_________________
Joey
Senior Developer & Designer
-------------------------------------------
http://www.propagator.net
[SourceForge Project] Formcat with Smarty!
http://www.propagator.net/formcat/
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mohrt
Administrator


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

PostPosted: Thu Mar 17, 2005 2:30 pm    Post subject: Reply with quote

You can reset the session data with:

[php:1:58f803a085]SmartyValidate::register_form('myform',true);[/php:1:58f803a085]

You can use 'default' as the form name if you are using the default form.
Back to top
View user's profile Send private message Visit poster's website
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