Title: custom fields from acf plugin
Last modified: March 22, 2023

---

# custom fields from acf plugin

 *  Resolved [mgracedev](https://wordpress.org/support/users/mgracedev/)
 * (@mgracedev)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-from-acf-plugin/)
 * hi,
 * is there a way to add custom fields from acf plugin to add these in donor’s history
   page, confirmation receipt and download receipt?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [stephanieliy](https://wordpress.org/support/users/stephanieliy/)
 * (@stephanieliy)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-from-acf-plugin/#post-16584210)
 * Hi [@mgracedev](https://wordpress.org/support/users/mgracedev/),
   Glad you reached
   out. I don’t think we support the functionality you are looking for, but let 
   me gather a little more information here.First, what is “acf plugin”? If you 
   have a link that would be a big help, I can research what type of plugin it is
   and possibly make some recommendations. I think you mean this one: [https://www.advancedcustomfields.com/](https://www.advancedcustomfields.com/),
   but I’ll need to be sure before I can move forward.You mentioned wanting to add
   custom fields from that plugin to GiveWP pages. What types of fields are looking
   for, and what are you looking to do? GiveWP has it’s own custom field add-on 
   called Form Field Manager that might be a better fit. I’m not able to provide
   support for that here, but if you’d like to learn more about it you can send 
   us a message at [https://givewp.com/contact-us/](https://givewp.com/contact-us/).
   Let me know, I’m happy to help.
 *  Thread Starter [mgracedev](https://wordpress.org/support/users/mgracedev/)
 * (@mgracedev)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-from-acf-plugin/#post-16584255)
 * hi,
 * yes, you’re right. we’re using [https://www.advancedcustomfields.com/](https://www.advancedcustomfields.com/)
   to add custom field name so that we can use these fields to recalculate the total
   amount before passing it in payment gateway.
 * we have have the form field manager but i’m not sure if the client will approve
   on this approach. everytime they need to add field in the form using the addon
   form field manager, they need to put fixed meta key that i will provide so that
   these meta keys will be used in calculating the total sum and other mandatory
   fields.it will be tedious to do plus if the meta key is wrong, it won’t be included
   in the calculation of total sum.we’re trying to avoid the miscalculation on the
   total amount sum.
 * also, i saw the snippet on how to add custom field via code like this one
 *     ```wp-block-code
       add_action( 'give_fields_after_donation_amount', function( $collection ) {
           $collection->append(
               give_field( 'text', 'Birth City' )
                   ->showInReceipt()
                   ->label( __('Birth City') )
                   ->minLength(2)
                   ->maxLength(30)
                   ->placeholder('Your birth city')
                   ->storeAsDonorMeta()
                   ->required() // Could instead be marked as readOnly() (optional)
                   ->helpText( __( 'This is a field used to add your birth city.' ) )
           );
       });
       ```
   
 * but using this approach will put this kind of fields in all forms which is not
   the client wants cause not all custom fields are available in some forms.
 * the requirements are like these:
    - create custom text fields for multiple donation amount aside from the default
      one and use these calculate the final total amount
    - create radio field with price amount. if the user selected yes, the value 
      in that radio will also be added in the final total amount
 *  [stephanieliy](https://wordpress.org/support/users/stephanieliy/)
 * (@stephanieliy)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-from-acf-plugin/#post-16615635)
 * Hi [@mgracedev](https://wordpress.org/support/users/mgracedev/),
   Thanks for sending
   along those details. This would fall under custom code, and isn’t something we
   can support.
 * One important thing to note is that in GiveWP 3.0 (which is targeted for Q2 of
   this year), how forms are created is going to change. So I’d caution you against
   spending too much time fine-tuning a method that may not work once the release
   rolls out. One of the goals of the 3.0 product is to begin to open up methods
   for third-party developers to interact with Forms in new ways, and I think that
   might be a better fit for you.
   I’ll mark this as resolved for now, but if you
   still have questions you can send them along here and I’ll be happy to give things
   a look. Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘custom fields from acf plugin’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [stephanieliy](https://wordpress.org/support/users/stephanieliy/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-from-acf-plugin/#post-16615635)
 * Status: resolved