andrelewis
New Member
I wrote a custom component that will take me to a Fabrik form and I want to pass in a filter. How do I set the session variables?
I am trying to dynamically filter a set of mambot tables and one mambot form based on a URL sent out via email that contains a unique identifier. The person never logs in or registers with the site so I can't filter it by user ID.
I think for the form I can create an eval element and set the variables using $_REQUEST elements and filter the tables by setting session variables. Then I would modify a template and remove the pagination to keep them on their result.
Does that seem like it would work?
What I would really like to do is be able to have PHP evaluated as part of the table pre-filter, so I could filter the results of the table via the request.
Andre
I am trying to dynamically filter a set of mambot tables and one mambot form based on a URL sent out via email that contains a unique identifier. The person never logs in or registers with the site so I can't filter it by user ID.
I think for the form I can create an eval element and set the variables using $_REQUEST elements and filter the tables by setting session variables. Then I would modify a template and remove the pagination to keep them on their result.
Does that seem like it would work?
What I would really like to do is be able to have PHP evaluated as part of the table pre-filter, so I could filter the results of the table via the request.
Andre