[Zope-dev] Simple Question
jawad haider
jawadh@hotmail.com
Wed, 23 May 2001 19:44:05
<html><DIV>
<P><BR>Hi:</P>
<P>Thanks for your response. </P>
<P>I wanted to make a search form in which search criteria and search result will appear on the same page e.g.search criteria on the top and when the submit button is pressed the list of search results should be displayed in the bottom of the page.</P>
<P>But when I try to accomplish this using the following code the search results are displayed on a separate page. </P>
<DIV>Following is the piece of code,</DIV>
<DIV> </DIV>
<DIV><dtml-var standard_html_header><BR><form action= "dtFindCustomer"><BR><table><BR><tr><BR><th align="left">Name</th><BR><td><input type="text"name="name"></td><BR></tr><BR><tr><BR><th align="left"><em>Age</em></th><BR><td><input type="text"name="age"size="3"></td><BR></tr><BR></table><BR><input type="submit"value="Search Customer"><BR></form><BR></DIV>
<DIV> </DIV>
<DIV>
<DIV>Here dtFindCustomer is a DTML method which in turn call z sql method which performs actual search in the MY SQL DB. The control is transfered to the next page when the form action method is called. </DIV>
<DIV> </DIV>
<DIV>HOW CAN i redirect the control on the same page and get the results returned to the same page and displayed on this same page ?</DIV>
<DIV> </DIV>
<DIV>Hope I am able to explain my question this time.</DIV></DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>Jawad</DIV>
<DIV> </DIV>
<P><BR> </P></DIV>
<DIV></DIV>
<DIV></DIV>>From: "Andreas Jung" <ANDREAS@DIGICOOL.COM>
<DIV></DIV>>To: "jawad haider" <JAWADH@HOTMAIL.COM>, <ZOPE-DEV@ZOPE.ORG>
<DIV></DIV>>Subject: Re: [Zope-dev] Simple Question
<DIV></DIV>>Date: Wed, 23 May 2001 15:00:44 -0400
<DIV></DIV>>
<DIV></DIV>>After reading your description I don't know yet what your real
<DIV></DIV>>problem or question is ?!
<DIV></DIV>>
<DIV></DIV>>Andreas
<DIV></DIV>>
<DIV></DIV><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html>