Answers.Body: <p>How about building an extension that creates custom report - where contributions can be e.g. filtered by or grouped by Payment Processor id? Much easier to create that and likely more useful too. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-13T21:58:30.883Z
Answers.Text: Hi Karin, thanks, that may be what I end up doing. But, just for the purpose of understanding Civi's limitations, I'm still looking for an answer to the question: could an extension modify the basic Find Contributions form itself?
Answers.UserDisplayName: Noah Miller
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-13T22:24:01.860Z
Answers.Text: Yes - it could; but I think Reports are way easier - esp. when you're getting started w/ Extensions!
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-08T13:28:44.943Z
Answers.LastActivityDate: 2017-02-08T13:28:44.943Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>A client would like to search for contributions by payment processor. The built-in search forms don't include a payment processor field, although the data exists within the Civi database.</p>
  
  <p>As <a href="https://civicrm.stackexchange.com/a/31/446">the answer to another question</a> describes, I could create a custom search based on the basic Find Contributions form. I could then replace the default Find Contributions menu item with my new improved version.</p>
  
  <p>But, hypothetically, could I instead use an extension to insert a field for payment processor into the basic Find Contributions form itself, along with some code to create the SQL query? Is such an approach possible and advisable?</p>
  
Tags: <civicontribute><contributions><payment-processor><search><custom-search>
Title: Could an extension add fields to the standard Find Contributions form?
ThreadText: # Could an extension add fields to the standard Find Contributions form?
  
  (Asked by: username_0 on 2017-02-07)
  
  A client would like to search for contributions by payment processor. The built-in search forms don't include a payment processor field, although the data exists within the Civi database.
  
  As [the answer to another question](https://civicrm.stackexchange.com/a/31/446) describes, I could create a custom search based on the basic Find Contributions form. I could then replace the default Find Contributions menu item with my new improved version.
  
  But, hypothetically, could I instead use an extension to insert a field for payment processor into the basic Find Contributions form itself, along with some code to create the SQL query? Is such an approach possible and advisable?
  
  **Tags:** civicontribute, contributions, payment-processor, search, custom-search
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-02-08. Score: 1
  
  How about building an extension that creates custom report - where contributions can be e.g. filtered by or grouped by Payment Processor id? Much easier to create that and likely more useful too.
  
  > **Comments:**
  > **username_0**: Hi Karin, thanks, that may be what I end up doing. But, just for the purpose of understanding Civi's limitations, I'm still looking for an answer to the question: could an extension modify the basic Find Contributions form itself?  
  > **username_1**: Yes - it could; but I think Reports are way easier - esp. when you're getting started w/ Extensions!  
  
  ---
  
  