CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Search + validation + redirect

Print topic Send  topic

Author Message
bugs
Posted: 12/08/2003, 8:02 AM

Hi all!

Could give me an advice, how to solve my problem?
I have a form to put some search criteria and I have to validate them.
I want do display result grid in new window (result.php), but if I set return page to result.php on the search form, and make a mistake typing in criteria, the error is shown on the result page. How to validate form on one page, and if the data in the form are ok open new window with the result grid (sending data by POST method)? I'm using CCS2+php

Regards,
bugs
ryan
Posted: 12/09/2003, 10:22 PM

Use a JScript instead on that page, not the result page.

Use some Onsubmit function to validate the search phrase. CCS finds it logically normal to display the error on the result page :)

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.