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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Including Spouse relationship in On-Line Membership form
Pages: [1]

Author Topic: Including Spouse relationship in On-Line Membership form  (Read 680 times)

pswartz

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.x
  • MySQL version: 5.1.46
  • PHP version: 5.3.3
Including Spouse relationship in On-Line Membership form
January 04, 2010, 05:12:52 pm
What is the right way to handle adding the Spouse information (Spouse of) in a profile?  The 'Relationship Type' isn't available in the type drop-down box. 
Ideally we would like to have the following information in our profile:

Head of House First Name
Spouse First Name
Last Name
Street Address
City
State
Zip
Phone
Email

Everything else is built-in and not a problem, but figuring out the Spouse information has me confused (not hard anyway).

Thank you for your help!
Patrick


 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Including Spouse relationship in On-Line Membership form
January 04, 2010, 05:28:16 pm

you will need to do this by implementing the buildForm / postProcess hooks and customized templates

the sfschool module (http://civicrm.org/taxonomy/term/26) has examples of the above implementations

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Including Spouse relationship in On-Line Membership form

This forum was archived on 2017-11-26.