Skip to main content
Topic: Add page how to reference data that was added in a redirect (Read 1213 times) previous topic - next topic

Add page how to reference data that was added in a redirect

As an example:

I have a contacts/add page which adds a contact with a specific account id. 

What I would like is to customize this add page to redirect to the accounts/view page with that specific account id so the end redirect would be something like account/view?accountid=x where x is the account I added the contact to.

On the contacts add page how do I access the accountID in the data that I added for the record?  Is there a variable that I can use in my redirect?

I hope this is clear enough.
Thanks,
Rich

Re: Add page how to reference data that was added in a redirect

Reply #1
Exactly what I'm wondering too!

Re: Add page how to reference data that was added in a redirect

Reply #2
I also tried to find out the solution to it but after checking source code this is not possible.

You can only provide the id .

Maybe admin will get back with a solution