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 CiviContribute (Moderator: Donald Lobo) »
  • E-mail fields in membership application form
Pages: [1]

Author Topic: E-mail fields in membership application form  (Read 1029 times)

muppel

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
  • CiviCRM version: CiviCRM 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.56
  • PHP version: 5.3.6
E-mail fields in membership application form
March 04, 2011, 08:44:58 am
Hallo,

I've realized a membership signup form with CiviCRM Profile and an online contribution page. In this form I would like to show an additional, second e-mail field (i.e. e-mail work, e-mail home), but the e-mail fields of the profile are not shown in the contribution page. Only the mandatory, default e-mail field on top is shown.

Thanks for any help!

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: E-mail fields in membership application form
March 08, 2011, 11:30:11 am
By default Civi shows only one email field (primary) per form no matter how many are in your profile.  The way around this is:

1. Create a little Custom Drupal module
2. Use Civi's API and "hooks" within this Drupal module to:
  a. Identify the form you want to change
  b. Add a second email field to that form
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • E-mail fields in membership application form

This forum was archived on 2017-11-26.