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) »
  • Display Profile for Specific Membership Type
Pages: [1]

Author Topic: Display Profile for Specific Membership Type  (Read 532 times)

davidb

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.4 stable
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.1.56
  • PHP version: 5.2.14
Display Profile for Specific Membership Type
January 06, 2012, 11:02:38 am
I want to use a different profile to capture different information depending on the membership type.  For instance, if it is a Household membership, I want to ask for Spouse/Partner name, if they are a Business membership, I want to ask for EIN number, Doing business as,  etc.  Is there a way to select the profile based on the membership type, or do I have to create a massive one size fits all profile for membership?

This is for a contribution form where I want the user to be able to join by selecting a membership type, and then getting the appropriate profile to fill out.
« Last Edit: January 06, 2012, 11:17:18 am by davidb »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Display Profile for Specific Membership Type
January 07, 2012, 11:28:39 pm
You can implement this with some jquery / javascript using custom templates. I would do following:

- Basically you add all the necessary fields that you need to collect to the profile.
- using js / jquery by default hide membership type dependent profile field.
- when user selects membership type show/hide profile fields using js/jquery.

HTh
Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Display Profile for Specific Membership Type

This forum was archived on 2017-11-26.