Anuruddha
|
| Posted: 08/18/2005, 5:45 AM |
|
Dear All;
I have a search page and search result page "search.php", "search_result.php" respectively.
in seach.php, there are 3 listboxes having foreign keys.
First listbox is the area_lb populated from area table.
Secnd listbox is the prefs_lb populated from pref table.
Third listbox is the cities_lb populated from cities table.
cities_lb list values depends on value selected from prefs_lb and prefs_lb depends on value selected from areas_lb.
All list boxes have onchange="this.form.submit()"
when search.php's return page is set to itself query(list values) works fine.
I want to accumilate the search qurery in this form(search.php) and finally want to submit
completed qurery to search_result.php through the "submit button".
In short, I want to check "only if the submit button is pressed" redirect to the search_result.php
Please show me best way to do this.
thanks in advance,
|
|
|
 |
Anuruddha
|
| Posted: 08/18/2005, 5:37 PM |
|
I read the http://examples.codecharge.com/CCSExamplePack2/Dependen...dentListBox.php and I would rather prefere to know server side solution.
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 08/19/2005, 4:01 AM |
|
Here it is: http://support.yessoftware.com/kb_article.asp?article_id=61
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|