Passing parameters to CF7 form

hpeterse 10 Dec, 2020
For our tennis club we organize several tournaments for our members. All contest entries of all the different tournaments over the years are stored in a database table. I've created a CF7 connectivity form to display the registrations. Is it possible to pass parameters to a CF7 form, so I make several menu-entries (one for each tournament) using one single CF7-form to display the registrations for that specific tournament? And how do I do that?

Thanks for your help.
Regards, Hans
Max_admin 12 Dec, 2020
Answer
Yes, in the menu item settings there is a field for "Extra parameters", so you may add something like:
tour=1&tour2=r
in your form, you use a "Read Data" action and add Where conditions then you can use {data:tour} to get the value of the tour parameter and use it in the conditions!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.