Title: How to update field values programmatically?
Last modified: August 22, 2016

---

# How to update field values programmatically?

 *  Resolved [landwire](https://wordpress.org/support/users/landwire/)
 * (@landwire)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-to-update-field-values-programmatically/)
 * Hi there,
 * which function would I use to update the field values programmatically?
    For 
   a simple text field I used: xprofile_set_field_data() and that worked fine. But
   how about dropdowns/checkboxes/radios or even more complex fields? How would 
   I set the value(s) there?
 * Thanks,
    Sascha
 * [https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [donmik](https://wordpress.org/support/users/atallos/)
 * (@atallos)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-to-update-field-values-programmatically/#post-5928681)
 * Hi,
 * You should ask in [buddypress forums](https://buddypress.org/support/topic/set-checbox-value-with-xprofile_set_field_data/).

Viewing 1 replies (of 1 total)

The topic ‘How to update field values programmatically?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-xprofile-custom-fields-
   type.svg)
 * [Buddypress Xprofile Custom Fields Type](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-xprofile-custom-fields-type/reviews/)

## Tags

 * [field values](https://wordpress.org/support/topic-tag/field-values/)
 * [function](https://wordpress.org/support/topic-tag/function/)

 * 1 reply
 * 2 participants
 * Last reply from: [donmik](https://wordpress.org/support/users/atallos/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/how-to-update-field-values-programmatically/#post-5928681)
 * Status: resolved