1

We are an association of parents of students.

We have a Contribution page for Membership Registration. But we can only add individual and organization fields to this contribution page, no household fields. Is this a CiviCRM bug?

Then we need a hook to search the household contact with the surnames of the individual contact, and if found, link the contribution to that household, and if not found, add new one.

Currently we have to link the individual and household records or create a new household and remove the individual.

How can we configure a contribution page to add and link an individual and a household record properly?

1 Answer 1

1

If you're in Drupal, I would use Webform with Webform Civicrm Integration to collect more data. It allows you to collect info for multiple contacts as well as to create relationships between them. So for your use case, you could have for example a parent contact, a student contact, and a household contact, while all the relationships such as household member-household and parent-child get created automatically.

If you're in wordpress, I'm not sure what the right plugin is, but I bet there is something similar you could use.

2
  • ok, thanks. i have created the webform, and now, the household contacts are created and the membership register too, easy. Now, i want to create automatic relationship from this webform, but i don`t know how to do this. The families, only writes the household_name, telephone and email, and with this data, i need to create the relationship with the existing individual contact, wich has the same last_name that the household_name.
    – Jabier
    Commented Sep 21, 2015 at 13:16
  • When editing your webform you should have tabs across the top. Go to the last tab, CiviCRM. Then you will see tabs down the side. For yours, you might have contact 1, and then household 1, and then maybe contact 2, depending on how you set it up. In any tab past the first, you can set up relationships. So for example if the household is below contact 1, you can scroll down to "enable relationship fields." Once you choose yes, you can set relationship types. set "is active" to "yes." Hope that helps! If it's confusing, I can try for some screenshots, just let me know.
    – naomisl
    Commented Sep 22, 2015 at 14:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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