That worked like a charm! We will have too many hikes to effectively use the drop down selector – so what I did was create a landing page that held the report of hikers signed up, and passed in the name of the hike. For anyone else that might need to do this, here’s the code I used.
On the actual HIKE EVENT page, I displayed the list of hikers signed up as follows:
[cfdb-table form="Dutchman Trail" class="hikersgoingclass" headers="your-name=Hiker Name,your-email=Email,your-phone=Phone,can-drive=Can Drive?,Num-hikers=Number of Hikers I Can Take" show="your-name,your-email,your-phone,can-drive,Num-hikers" limit="20" orderby="Submitted desc"][/cfdb-table]
Then I included a button to take the users to the printable hikers list page, passing the hike name to the new page via the NAMEOFHIKE variable in the new page URL like this: suncityanthemhikingclub.com/who-is-going/?nameofhike='Dutchman Trail'
Here’s the full line of code:
<a href="https://suncityanthemhikingclub.com/who-is-going/?nameofhike='Dutchman Trail'">Click For Printable List of Hikers</a>
The REPORT page code required that I strip the slashes out of the incoming NAMEOFHIKE. The report header uses the variable to identify the hike in question. This allows me to have one landing page that we can use for any hike. Here is that final code:
<?php $nameofthehike=$_GET[nameofhike]?>
<h1 style="text-align: center;"><strong>HIKERS WHO HAVE SIGNED UP</strong></h1>
<h1 style="text-align: center;"><strong>FOR THE FOLLOWING HIKE</strong></h1>
?
<h2 style="text-align: center;"><?php echo stripslashes($nameofthehike);?></h2>
[cfdb-table form=<?php echo stripslashes($nameofthehike);?> class="hikersgoingclass" headers="your-name=Hiker Name,your-email=Email,your-phone=Phone,can-drive=Can Drive?,Num-hikers=Number of Hikers I Can Take" show="your-name,your-email,your-phone,can-drive,Num-hikers" limit="20" orderby="Submitted desc"]
Thanks so much for all your help. Everything is working perfectly now.
Cheers
Kathy