Skip to main content
Topic: [solved] passing on values (Read 1306 times) previous topic - next topic

[solved] passing on values

Hi guys, i hope this is an easy question to answer.

How can i easily pass on a value from one page to another?
For example: I have tables 'client' and 'financials'. A client can have multiple financials records.
When I add a client I use MasterForm and MasterField on the client Add Page.
If I view a client I use a financials/list on the clients/View Page Design.
When I click on the button Add New Financials I want to link the new record automatically to the client that I'm viewing.
How can I do that?

Thanks,
Erwin


Re: passing on values

Reply #2
Thank you @willvin, that was indeed what I looked into, but because it's such a 'common' task (imo) I didn't want to use session variables or cookies for it.
I am able to pass on the value by adding myself a 'Add New Financials' button on the page and linking that to
financials/add?client_id=$page_id
Problem with this is that it only works with Ajax Modal or Navigation not Preloaded Modal.