Hi:

Thanks for your response.

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.

But when I try to accomplish this using the following code the search results are displayed on a separate page.

Following is the piece of code,
 
<dtml-var standard_html_header>
<form action= "dtFindCustomer">
<table>
<tr>
<th align="left">Name</th>
<td><input type="text"name="name"></td>
</tr>
<tr>
<th align="left"><em>Age</em></th>
<td><input type="text"name="age"size="3"></td>
</tr>
</table>
<input type="submit"value="Search Customer">
</form>
 
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.
 
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 ?
 
Hope I am able to explain my question this time.
 
Regards
Jawad
 


 

>From: "Andreas Jung" <[EMAIL PROTECTED]>
>To: "jawad haider" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: Re: [Zope-dev] Simple Question
>Date: Wed, 23 May 2001 15:00:44 -0400
>
>After reading your description I don't know yet what your real
>problem or question is ?!
>
>Andreas
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

_______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )

Reply via email to