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) »
  • How to add custom field to contribution form
Pages: [1]

Author Topic: How to add custom field to contribution form  (Read 373 times)

lee

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.2.16
  • CMS version: wordpress 3.8.1
  • MySQL version: 5.6.14
  • PHP version: 5.4.4.
How to add custom field to contribution form
April 30, 2014, 09:51:15 am
I have my custom fields set up but now I need to add them to my contribution form. How can I specify what fields and where on the form to add them. Appreciate your help.

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: How to add custom field to contribution form
April 30, 2014, 10:01:59 am
You will need to create at least one profile that contains the custom fields.  You can read more about profiles at http://book.civicrm.org/user/current/organising-your-data/profiles/ .

As far as placing them on the page, there are only two positions you can choose without help from an implementer/developer. These are at the top or the bottom of the page.

Exactly where these are in relation to other elements on the page will be obvious when you actually create a contribution page.

lee

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.2.16
  • CMS version: wordpress 3.8.1
  • MySQL version: 5.6.14
  • PHP version: 5.4.4.
Re: How to add custom field to contribution form
April 30, 2014, 11:21:15 am
Thanks for your reply. That worked.

One thing I would need to fix is that the field for "state (primary)" gives non-USA states.  I noticed that the billing state field is called "state/province" and has the correct states but that doesn't seem to be available in Contact fields listings. Is there a way to limit to USA states?

---------------

NEVERMIND: Easily fixed by editing in Administer > Localization > Languages, Currency, Locations

« Last Edit: April 30, 2014, 12:03:04 pm by lee »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • How to add custom field to contribution form

This forum was archived on 2017-11-26.