[Zope] Form Submit question
Tino Wildenhain
tino@wildenhain.de
Sat, 11 Mar 2000 19:12:44 +0100
Michel Pelletier wrote:
>
> "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.
I guess thats not the point here. Sure you can use POST for forms as
well
as GET. You can even "construct" A form-like URL for GET using
?var=value&var2=value
but you cannot send something inside forms without javascript over a
href-tag.
Best regards
Tino Wildenhain
>
> -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 )
>
> _______________________________________________
> 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 )