The following question is based on the discussion we had the thread, "Mod for different search results???" at:
http://www.gossamer-threads.com/...m12/HTML/000120.html
I've set up the short form and it works fine. Thanks for all the help! Here's what I would like to do:
I would like to be able to display a 'custom' html_record_short depending on what the search criteria was. As it stands now I have one html_record_short set up in my html.pl file and no matter what the search was, the same table layout will be displayed.
Is there a way in which I can change the content of the table to include some basic information plus generate and display a column with the field the user specified in his/her search criteria?
Let's assume I have 10 fields in each record. My standard html_record_short is set up to show only fields 1,2, and 3 and a link to show the complete record. A user enters search criteria in field 7 on the search form, and asks that it be sorted by field 5 - descending! (Still with me?)
I would like my html_record_short output to now show, Fields 1,2,3 (as always) and include field 7 (searched on) and field 5 (sorted by)....and of course the link to see the full record.
Any suggestions? This rocks - I'm having fun while learning a stack!
------------------
Safe swoops
Sangiro
http://www.dropzone.com/
http://www.gossamer-threads.com/...m12/HTML/000120.html
I've set up the short form and it works fine. Thanks for all the help! Here's what I would like to do:
I would like to be able to display a 'custom' html_record_short depending on what the search criteria was. As it stands now I have one html_record_short set up in my html.pl file and no matter what the search was, the same table layout will be displayed.
Is there a way in which I can change the content of the table to include some basic information plus generate and display a column with the field the user specified in his/her search criteria?
Let's assume I have 10 fields in each record. My standard html_record_short is set up to show only fields 1,2, and 3 and a link to show the complete record. A user enters search criteria in field 7 on the search form, and asks that it be sorted by field 5 - descending! (Still with me?)
I would like my html_record_short output to now show, Fields 1,2,3 (as always) and include field 7 (searched on) and field 5 (sorted by)....and of course the link to see the full record.
Any suggestions? This rocks - I'm having fun while learning a stack!
------------------
Safe swoops
Sangiro
http://www.dropzone.com/

