Answers.Body: <p>You can create custom field from civicrm UI and add that field to your contribution page.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-08T19:44:25.453Z
Answers.LastActivityDate: 2018-01-08T19:44:25.453Z
Answers.UserDisplayName: Prem Patel
Answers.Body: <p>If you can clarify the goal you want to achieve then it would be better to explain but i believe you can add text field in contribution settings page itself using <a href="https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm/" rel="nofollow noreferrer">hook_civicrm_buildForm</a> and putting an if condition for variable <code>$formName</code> to be equal to 'CRM_Contribute_Form_ContributionPage_Settings' alongwith with form_id which will be the contribution page id. </p>
  
  <p>If your question was to add custom field in contribution page, you can achieve that by creating a custom field, then create a new profile and include custom field in that profile and in the end include the created profile in contribution page settings in 'Profiles' tab.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-08T19:26:28.410Z
Answers.LastActivityDate: 2018-01-08T19:26:28.410Z
Answers.UserDisplayName: Hassan Farooq
Answers.Body: <p>Do you need field associated with contribution page or contribution?</p>
  
  <p><strong>For contribution</strong>: </p>
  
  <p>You can create custom group extending contribution and then add custom field in it and then include the custom field in a profile. </p>
  
  <p><strong>For Contribution page:</strong></p>
  
  <p>Currently CiviCRM doesn't allow to create custom field to extend contribution page. <a href="http://jmaconsulting.biz/home" rel="nofollow noreferrer">JMA Consulting</a> have developed an <a href="https://github.com/JMAConsulting/biz.jmaconsulting.contributionpagecustomfield" rel="nofollow noreferrer">extension</a> to have custom field extend contribution page. This extension is not yet released in civicrm.org but they are hoping it to release it soon. You can try by downloading and installing manually.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-09T20:24:21.190Z
Answers.LastActivityDate: 2018-01-09T20:24:21.190Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I want to add text field in Civicrm Contribution Setting Page (CRM_Contribute_Form_ContributionPage_Settings). Please any one help me</p>
  
  <p><a href="https://i.sstatic.net/x5Q2T.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/x5Q2T.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-08T14:03:52.020Z
Comments.Text: Could you explain a little more about what you want to achhieve and why you want to achieve it? That way it is easier to help you.
  
  Did you look into custom fields?
Comments.UserDisplayName: Jaap Jansma - CiviCooP
Tags: <drupal><civicontribute>
Title: How to add extra text field in Civicrm Contribution page?
ThreadText: # How to add extra text field in Civicrm Contribution page?
  
  (Asked by: username_0 on 2018-01-08)
  
  I want to add text field in Civicrm Contribution Setting Page (CRM\_Contribute\_Form\_ContributionPage\_Settings). Please any one help me
  
  [![enter image description here](https://i.sstatic.net/x5Q2T.png)](https://i.sstatic.net/x5Q2T.png)
  
  **Tags:** drupal, civicontribute
  
  > **Comments:**
  > **username_1**: Could you explain a little more about what you want to achhieve and why you want to achieve it? That way it is easier to help you.  Did you look into custom fields?  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2018-01-08. Score: 3
  
  You can create custom field from civicrm UI and add that field to your contribution page.
  
  
  ---
  
  ### Answer by username_3 on 2018-01-08. Score: 0
  
  If you can clarify the goal you want to achieve then it would be better to explain but i believe you can add text field in contribution settings page itself using [hook\_civicrm\_buildForm](https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm/) and putting an if condition for variable `$formName` to be equal to 'CRM\_Contribute\_Form\_ContributionPage\_Settings' alongwith with form\_id which will be the contribution page id.
  
  If your question was to add custom field in contribution page, you can achieve that by creating a custom field, then create a new profile and include custom field in that profile and in the end include the created profile in contribution page settings in 'Profiles' tab.
  
  
  ---
  
  ### Answer by username_4 on 2018-01-09. Score: 0
  
  Do you need field associated with contribution page or contribution?
  
  **For contribution**:
  
  You can create custom group extending contribution and then add custom field in it and then include the custom field in a profile.
  
  **For Contribution page:**
  
  Currently CiviCRM doesn't allow to create custom field to extend contribution page. [JMA Consulting](http://jmaconsulting.biz/home) have developed an [extension](https://github.com/JMAConsulting/biz.jmaconsulting.contributionpagecustomfield) to have custom field extend contribution page. This extension is not yet released in civicrm.org but they are hoping it to release it soon. You can try by downloading and installing manually.
  
  
  ---
  
  