I have the search functionality with the dropdown values. The UI looks like
Have 8 dropdown values and one test box. When i enter the name in the test box choose the dropdown value . based on that name it should go to that related page. but it always going to the same page (ozPrjFileQuickFind.jsp ) which is File. This is the code i am using for.
In the above code File,Bug,Appointment,Task, Note,Product and Asset are the dropdown values. Suppose I enter the test in the test box and choose "Bug" dropdown value it should go to "ozPrjBugQuickFind.jsp" page which is Bug related page. but it always going to the "ozPrjFileQuickFind.jsp" page.
the action is defined "ozPrjFileQuickFind.jsp\". So, when somebody presses the submit button, the action file is called and the selected options are passed as arguments. To do what you want, you should modify the action using js, or use a php script for action, and in that php, get which option is selected and redirect to the proper page.