[Zope] passing the parameters to zsql method
Denis V. Gudtsov
denis at aogarant.ru
Thu Oct 27 02:29:49 EDT 2005
Hello!
I'm trying to pass the form parameters from page template to zsql method.
A piece of code follows:
<form action="clients_add_sql">
<input type="text" name="name">
<input type="text" name="account">
<input type="submit">
</form>
clients_add_sql:
insert into table(name,account) values (<dtml-sqlvar name type=string>, <dtml-sqlvar account type=string>);
the problem is when i click the 'submit' button, the form
"clients_add_sql Input Data Enter query parameters:" appears.
Does someone know how i can pass the form parameters to zsql method
directly?
--
More information about the Zope
mailing list