I'm trying to make an extension that does the following:

  1. User clicks link in email
  2. Form loads, extracts the contact ID from the querystring (along with a checksum for security), and customises the form appropriately
  3. User submits form
  4. Changes are saved
  5. Form reloads, showing updated data

My problem comes at step 5, as the form no longer knows what the contact ID is. How can I pass the contact ID to this page? It's no longer in the querystring, and I can't find it anywhere...

Sorry if this is basic stuff - I've tried to figure it out from the existing profile code.

  • I think we have some code that could help on this by creating a session when a checksum is used. asking colleague about getting it out of a private repo – petednz - fuzion Feb 29 '16 at 22:00

Please have a look at the code here and see if it can help with what you need.

  • that told me exactly what I needed to know. Thank you very much for going the extra mile on this! Really appreciate it. – Andrew West Mar 1 '16 at 13:59
  • great. hopefully you can either share back, or submit a patch to ours if it meets some other generic situation that might help others? – petednz - fuzion Mar 2 '16 at 5:04
  • yep definitely - will do – Andrew West Mar 2 '16 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.