[Zope] Form Submit question

Michel Pelletier michel@digicool.com
Thu, 09 Mar 2000 12:47:59 -0800


"Kulpinski, Dejan" wrote:
> 
> Hello all,
> 
> Is it possible to submit the form by clicking on the link and not on the
> submit button?

Not without javascript, clicking on a lick causes a GET.  Clicking on a
form button causes a POST.  I could be wrong, but I'm pretty certain
that's the convention.

-Michel

> In other words I would like to submit my form without having
> the submit button present.
> 
> Now, I now I can do this using JavaScript on client side, by doing something
> like:
> 
> <a href="MyFunc();"> The Link </a>
> 
> MyFunc()
> {
> 
> form.submit();
> 
> }
> 
> So is it possible to do this without JavaScript ?
> 
> Dejan Kulpinski
> Sierra Systems
> (604) 688-1371/450
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )