Title: a request&#8230;
Last modified: June 7, 2018

---

# a request…

 *  [paok1926](https://wordpress.org/support/users/paok1926/)
 * (@paok1926)
 * [8 years ago](https://wordpress.org/support/topic/a-request-9/)
 * hello,
 * i created a page where someone can add his personal details and some data for
   his business..
    these business data are numbers.. is it possible to add them 
   and store the sum into a field ?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fa-request-9%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [8 years ago](https://wordpress.org/support/topic/a-request-9/#post-10380053)
 * It is possible, but you’ll need to write some custom code to do it.
 * There is a filter that is invoked any time a record is updated, you can update
   your sum field at that time.
 * I don’t have any code snippets at the moment that show how this is done, but 
   the key points are this action
 * pdb-after_submit_update
 * which gets passed in the submitted data, and this public method, which gives 
   you a way to update a single record:
 * Participants_Db::write_participant( $data, $id );
 * The data in that is an associative array of the data you want to write (this 
   is where your sum would go) and the second parameter is the ID of the record.

Viewing 1 replies (of 1 total)

The topic ‘a request…’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Roland Barker](https://wordpress.org/support/users/xnau/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/a-request-9/#post-10380053)
 * Status: not resolved