Title: Creating a persistent unique custom field
Last modified: April 30, 2019

---

# Creating a persistent unique custom field

 *  Resolved [mddonations](https://wordpress.org/support/users/mddonations/)
 * (@mddonations)
 * [7 years ago](https://wordpress.org/support/topic/creating-a-persistent-unique-custom-field/)
 * I am working with an organization that is considering migration from their current
   website to a GiveWP website. I would like to know if this is possible: When a
   donor creates a recurring donation, we would like to populate a custom field 
   in the donations record with a unique ID (or with the current date/time), only
   when the donor makes the original donation. All subsequent donations generated
   by the recurring donations add-on would have the original value assigned to this
   field, so that each time we download donations into our database program, we 
   would be able to programmatically connect all donations that have been generated
   for each ARB. Is this possible?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcreating-a-persistent-unique-custom-field%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [gsamsmith](https://wordpress.org/support/users/gsamsmith/)
 * (@gsamsmith)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/creating-a-persistent-unique-custom-field/#post-11638911)
 * Hi there,
 * We’ve written an article on dynamically populating information into form fields
   here:
    [https://givewp.com/populate-donor-info-one-click/](https://givewp.com/populate-donor-info-one-click/)
 * You’ll find further links in the article to code snippets on how to achieve this.
 * As for adding custom fields to forms, here is another article that covers this
   along with some code snippets:
    [https://givewp.com/documentation/developers/how-to-create-custom-form-fields/](https://givewp.com/documentation/developers/how-to-create-custom-form-fields/)
 * You’ll then need to further extend the initial functionality to match the parameters
   passed in the URL string to the specified custom form fields.
 * Thanks.
 *  [gsamsmith](https://wordpress.org/support/users/gsamsmith/)
 * (@gsamsmith)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/creating-a-persistent-unique-custom-field/#post-11660766)
 * Hi there,
 * I’m going to mark this ticket as resolved, but if there is anything else you 
   need don’t hesitate to reach out.
 * Thanks.

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

The topic ‘Creating a persistent unique custom field’ 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/)

## Tags

 * [id](https://wordpress.org/support/topic-tag/id/)
 * [persistent](https://wordpress.org/support/topic-tag/persistent/)
 * [recurring](https://wordpress.org/support/topic-tag/recurring/)

 * 2 replies
 * 2 participants
 * Last reply from: [gsamsmith](https://wordpress.org/support/users/gsamsmith/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/creating-a-persistent-unique-custom-field/#post-11660766)
 * Status: resolved