[Zope] Automatically submitting forms
Jim Sanford
jsanford@atinucleus.com
Wed, 5 Jan 2000 16:38:55 -0600
The "next form" (dtml document) should call the query using dtml-in. If there are results it spits out the appropriate html
otherwise it spits out html indicating an error.
<dtml-in "the_query()">
appropriate html
<dtml-else>
error html
</dtml-in>
__________________________________________________________________
Jim Sanford
. Database/Web Engineer
/ \ / Accelerated Technology, Inc.
/ / 720 Oak Circle Drive East
/ / \ Mobile, AL 36609
/ / \ Voice: 334-661-5770 fax: 334-661-5788
/ \ E-Mail: jsanford@atinucleus.com
Web: http://www.atinucleus.com
Source Code, No Royalties, Any CPU...It just make sense !
__________________________________________________________________
----- Original Message -----
From: Timothy Grant <tjg@avalongroup.net>
To: Zope Folk <zope@zope.org>
Sent: Wednesday, January 05, 2000 3:55 PM
Subject: [Zope] Automatically submitting forms
Hi again,
I have a situation where I'd like to automatically "press" a submit
button.
I have a form that acts more like a sub-routine. It simply processes a
query, if the query is not successful, it displays and error message, if
the query is successful it puts some data in a list and then asks then
presents a "Continue" button. I'd really like to eliminate the use of
the continue button, but don't know how to get the results of my lists
to the next form without doing so.
I guess I would like to programmatically submit the form if user
intervention is not required.
--
Stand Fast,
tjg.
Chief Technology Officer tjg@exceptionalminds.com
Red Hat Certified Engineer www.exceptionalminds.com
Avalon Technology Group, Inc. (503) 246-3630
>>>>>>>>>>>>EXCEPTIONAL MINDS, INNOVATIVE PRODUCTS<<<<<<<<<<<<
_______________________________________________
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 )