Title: Custom From Field update
Last modified: September 1, 2016

---

# Custom From Field update

 *  Resolved [topperweb](https://wordpress.org/support/users/topperweb/)
 * (@topperweb)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/custom-from-field-update/)
 * Hi team,
 * This is really good plugin but user is unable to edit custom field. Suppose I
   have added new custom field i.e. Website url, so user when want to edit their
   profile, default field show for edit but custom field (website url) is not showing.
 * Please guide how to tackle this problem.
 * Any forum expert highly appreciate for this suggestion/guidance.
 * Thank…
 * [https://wordpress.org/plugins/ultimate-member/](https://wordpress.org/plugins/ultimate-member/)

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

 *  [nobenati](https://wordpress.org/support/users/nobenati/)
 * (@nobenati)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/custom-from-field-update/#post-7590178)
 * Here’s what to do in order to add custom fields to the account page.
 *     ```
       /* Add fields to account page */
       add_action('um_after_account_general', 'showExtraFields', 100);
       function showExtraFields()
       {
           $custom_fields = [
             "alternate_email" => "Permanent E-mail Address",
             "major" => "Major",
             "minor" => "Minor",
             "gpa" => "GPA",
             "graduation_year" => "Graduation Year",
             "graduation_season" => "Graduation Season",
             "gpa" => "GPA",
             "phone_number" => "Phone Number (XXX-XXX-XXXX)",
             "address_1" => "Permanent Address 1",
             "address_2" => "Permanent Address 2",
             "city" => "City",
             "state" => "State",
             "zip_code" => "Zip Code"
           ];
   
           foreach ($custom_fields as $key => $value) {
   
             $field_value = get_user_meta(um_user('ID'), $key, true) ? : '';
   
             $html = '<div class="um-field um-field-'.$key.'" data-key="'.$key.'">
                          <div class="um-field-label">
                             <label for="'.$key.'">'.$value.'</label>
                             <div class="um-clear"></div>
                          </div>
                          <div class="um-field-area">
                             <input class="um-form-field valid "
                                 type="text" name="'.$key.'"
                                 id="'.$key.'" value="'.$field_value.'" placeholder=""
                                 data-validate="" data-key="'.$key.'">
                          </div>
                      </div>';
   
             echo $html;
           }
       }
       ```
   
 *  Plugin Author [Ultimate Member](https://wordpress.org/support/users/ultimatemember/)
 * (@ultimatemember)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/custom-from-field-update/#post-7590251)
 * Thanks for helping out other users on the forum 🙂
 *  [fabioricci9](https://wordpress.org/support/users/fabioricci9/)
 * (@fabioricci9)
 * [9 years ago](https://wordpress.org/support/topic/custom-from-field-update/#post-9110132)
 * This will work only with textfields, not with select, checkbox, etc.
    Is there
   a way I can retrieve those values somewhere to further edit them?
 *  [taborcarlton](https://wordpress.org/support/users/taborcarlton/)
 * (@taborcarlton)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/custom-from-field-update/#post-9396699)
 * I’m have the same requirement and I can’t seem to find any answers for it, aside
   from programming our own solution. You offer the ability to create custom forms
   and plugins, but not a way to retrieve / edit that data in the profile view? 
   Would love to at least know how to accomplish this even if it’s a custom programming
   solution.
 * Thanks

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

The topic ‘Custom From Field update’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

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

 * 4 replies
 * 5 participants
 * Last reply from: [taborcarlton](https://wordpress.org/support/users/taborcarlton/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/custom-from-field-update/#post-9396699)
 * Status: resolved