oohforms plugins
| From: | Rob Ellis | Date: | Wed, 18 Sep 2002 23:11:26 +0000 |
| Subject: | oohforms plugins | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-275@lists.php.net to get a copy of this message | ||
I'm not sure if this is the right place for this, apologies
if it's not...
I've written a set of 3 smarty plugins to wrap phplib's
oohforms.
The plugins allow for easily adding forms to templates, e.g.
{form_start}
Name: {form_element type="text" name="myname"} <br />
{form_element type="submit" name="submit" value="OK"}
{form_finish}
Most (all?) of the oohforms functionality is made available --
form validation, extended element types, etc.
The first version of the plugins is available here:
http://www.web.net/~rob/smarty_oohforms_plugins-1.0.tar.gz
Please see the comments in the plugin files themselves for
implementation details and usage examples.
I hope they're useful. Anyway, comments and suggestions
are appreciated.
Thanks.
- Rob
--
Rob Ellis <rob@web.ca>
System Administrator, Web Networks