Hi,
I've got a search page by which users can specify as many search options as they want. The value they enter into each option is added to a variable which is then used in a CFQUERY. The next page displays the results to the user. The problem I'm having is that if there are more than a certain number of records, the results will be split over a number of pages. However, when I click on the 'Next' button, the variable is lost, returning all results for that user. I have tried appending this variable to the form action which contains the next button, as well as using a hidden field in the form. In the debug I can see that the variable is being submitted, but not being used. How can I get use this variable over a number of pages?
Any help would be greatly appreciated.
Thanks,
Priya
I've got a search page by which users can specify as many search options as they want. The value they enter into each option is added to a variable which is then used in a CFQUERY. The next page displays the results to the user. The problem I'm having is that if there are more than a certain number of records, the results will be split over a number of pages. However, when I click on the 'Next' button, the variable is lost, returning all results for that user. I have tried appending this variable to the form action which contains the next button, as well as using a hidden field in the form. In the debug I can see that the variable is being submitted, but not being used. How can I get use this variable over a number of pages?
Any help would be greatly appreciated.
Thanks,
Priya