Title: meta_value not submitting
Last modified: May 5, 2017

---

# meta_value not submitting

 *  [saopengov](https://wordpress.org/support/users/saopengov/)
 * (@saopengov)
 * [9 years ago](https://wordpress.org/support/topic/meta_value-not-submitting/)
 * Hi All.
 * This is my form:
 * <p>Province
    [text meta_your-province]</p> <p>District [text meta_your-district]
   </p> <p>Local [text meta_your-local]</p>
 * They get populated with info from my user_meta table, and turned to uneditable.
 * Also using [https://wordpress.org/plugins/add-actions-and-filters/](https://wordpress.org/plugins/add-actions-and-filters/)
   I have added this:
 * function form_to_post_set_meta($post) {
    $post[‘your-province’] = $form_data-
   >posted_data[‘meta_your-province’]; $post[‘your-district’] = $form_data->posted_data[‘
   meta_your-district’]; $post[‘your-local’] = $form_data->posted_data[‘meta_your-
   local’]; return $post; }
 * add_filter(‘form_to_post_before_create_post’, ‘form_to_post_set_meta’);
 * when I check my post_meta table, the “your-province”, “your-district” and “your-
   local” meta_keys are created, but they have no value.
 * Why are they not receiving the form data?

The topic ‘meta_value not submitting’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/form-to-post.svg)
 * [Form to Post](https://wordpress.org/plugins/form-to-post/)
 * [Support Threads](https://wordpress.org/support/plugin/form-to-post/)
 * [Active Topics](https://wordpress.org/support/plugin/form-to-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/form-to-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/form-to-post/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [saopengov](https://wordpress.org/support/users/saopengov/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/meta_value-not-submitting/)
 * Status: not resolved