CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Redirect based on entry id
Pages: [1]

Author Topic: Redirect based on entry id  (Read 1431 times)

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Redirect based on entry id
October 10, 2007, 09:11:02 am
Hi,

I am creating custom profile forms. My staff will use these to put in new individuals. Basically I have three forms. The first one puts the new individual in a group called "offenders" and when you submit it sends you to form #2 where you put in a new individual that gets put in a group called "victims". when you are done submitting this second form, I want it to direct them to the contact view of the first individual they entered. I know if I use standalone forms I can edit the code. So if between the first and second entry form I can put an interim php page that pulls in the contact id for the first individual, i can then pass it as a get variable to the second one. Then after that submission I will be able to use that get var. The question is, what code do I need on the interim page to get the first individuals id that is created?

Thanks,
Emily

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Redirect based on entry id

This forum was archived on 2017-11-26.