|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
joey Smarty Regular
Joined: 29 Oct 2003 Posts: 57
|
Posted: Thu Mar 17, 2005 4:06 am Post subject: smartyvalidate has big problem in websolution with frames |
|
|
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 |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Mar 17, 2005 2:30 pm Post subject: |
|
|
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 |
|
|
|
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
|