Link to home
Start Free TrialLog in
Avatar of thomasgroup
thomasgroupFlag for United States of America

asked on

Compare search results page

1.   Next to each results on my search page is a check box.
2.   If a user selects at least two boxes, then clicks a button at the bottom called "Compare".
3.   Clicking on the "Compare" button should take them to a split page that has details of both selected records.

I see this feature often on the web. Just not sure how it can be accomplished in coldfusion. Any suggestions?
Avatar of pinaldave
pinaldave
Flag of India image

yes you can.
1) you can pass the parameters in the form and bring to next page
2) the page has loop over table column ...
i) loop over the number of the variables passed..if two checkbox then two column
ii) then loop over query and bring their info back from database
iii) display them together

this will be big loop with
column, query, display ...
this way you can do as many as you want...
Regards,
---Pinal
Avatar of thomasgroup

ASKER

That sounds excatly what I need. This may be too much... but can i see a example of the page that does the cfloop? thx
well... i do not have example on hand but this is architecture you can use it.
ASKER CERTIFIED SOLUTION
Avatar of Tacobell777
Tacobell777

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial