Re: Questions, questions.

From: Date: Tue, 19 Mar 2002 16:08:55 +0000
Subject: Re: Questions, questions.
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3112@lists.php.net to get a copy of this message
Scott, I don't know if this fits your needs but I use a lot of form with validation, and for that I use javascript, standard, usual, basic javascript and this works well. If you want something for using only one php page, just place an hidden field in your form and do a if(isset($myhiddenfield)){} Luc At 11:01 19/03/02 -0500, Batchelor, Scott wrote:
Hi all, New to the Mailing list, smarty and PHP in general, so please be patient. I have a few questions that I hope some of you can help me with. I am trying to build a form with templates...that is easy enough. But I also want to do validation on this form. My current thinking is to put everything into an array. And then call a PHP function to check it. What I would like to do is call the function from the same page that my PHP template code is on. But I am not sure if I can do this? I know that I can create an entirely different PHP page and have it called on the submit of the form to do validation. But I was trying to keep it to just 1 PHP page and my template file. Any help is greatly appreciated.


« previous php.smarty.general (#3112) next »