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 »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Capturing user information in order to proceed
Pages: [1]

Author Topic: Capturing user information in order to proceed  (Read 584 times)

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Capturing user information in order to proceed
October 26, 2012, 10:17:21 am
I would like to have the functionality where a Drupal user must fill out a form with certain required information before being able to proceed to the next page. I would like this information to be incorporated into a CiviCRM contact record for that person. I was wondering how I might use Profiles to do this? I can create a Profile with the information that I would like to capture. I'm kind of lost as to where to go at that point. Would I create the Profile as a stand alone form? If so, what would be the process of making that form mandatory to proceed to a specified web page or to be able to perform a specific function?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Capturing user information in order to proceed
October 28, 2012, 05:27:30 am
Using the Webform CiviCRM Integration module you can collect data and then send the user to a certain URL.

But protecting that URL from visitors coming from any page other than that webform is a Drupal issue. One way might be to limit access to it to a certain role and then assign that role to any user who fills out the form. Although that may not be practical (also requires them to login).

The other way would be to have a bit of PHP (or even JS) on the target page that checks the referrer value and if it's not the form in question, then you send them to that form. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Capturing user information in order to proceed

This forum was archived on 2017-11-26.