Re: Block functions

From: Date: Tue, 26 Mar 2002 15:48:40 +0000
Subject: Re: Block functions
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3358@lists.php.net to get a copy of this message
At 04:34 PM 3/26/02 +0100, Bertrand DUNOGIER wrote:
{myform name="blabla"} {my_checkbox name="foo"} {/myform}
AS far as I am concerned, i don't think that this shoul be implemented in smarty. I don't like that kinda 'HTML output' functions... it is just a way to output HTML code, and exactly the same think can be achieved with copy-paste...
I disagree. You either use Smarty for this or you have a form generation library like OOH forms which prints the form to the screen... at least this way the designer gets more control over the output :-) And don't forget that someone may write a form generation and validation library using Smarty sometime. Peter. -- Maple Design - quality web design and programming http://www.mapledesign.co.uk

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