Title: Database meta_value
Last modified: August 24, 2016

---

# Database meta_value

 *  Resolved [enqis](https://wordpress.org/support/users/enqis/)
 * (@enqis)
 * [11 years ago](https://wordpress.org/support/topic/database-meta_value/)
 * Hello
    I have a question. I made some custom field form my posts using Types.
   Then i look into my database and found something like this: meta_key -> wpcf-
   test-field meta_value -> a:1:{s:64:”wpcf-fields-checkboxes-option-9197ba34957f1028fa65cbdb1e3be28e-
   1″;a:1:{i:0;s:1:”1″;}}
 * Is there a way to modify meta_value saved for specific option ?
    Thanks for help.
 * [https://wordpress.org/plugins/types/](https://wordpress.org/plugins/types/)

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

 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [11 years ago](https://wordpress.org/support/topic/database-meta_value/#post-6086346)
 * Dear enqis
 * What do you need to achieve?
 * You can use filter like this:
 * [http://iworks.pl/firma/klienci/o/onTheGoSystem/types/docs/filters/wpcf_fields_type_type_value_save.html](http://iworks.pl/firma/klienci/o/onTheGoSystem/types/docs/filters/wpcf_fields_type_type_value_save.html)
 * But what you really need to do?
 * Cheers,
    Marcin
 *  Thread Starter [enqis](https://wordpress.org/support/users/enqis/)
 * (@enqis)
 * [11 years ago](https://wordpress.org/support/topic/database-meta_value/#post-6086348)
 * I’m trying to combine Types and Ultimate WP Query Search Filter. However i have
   noticed that wordpress saves checkboxes just like i posted above and it is not
   about Types.
    I need to achive that i could filter like: Select * from wp_postmeta
   where meta_value in (‘red’,’green’) where red,green and blue are custom fields
   for posts at my page. I rather need to contact with WPQSF than with you. Thanks
   for help. Cheers
 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [11 years ago](https://wordpress.org/support/topic/database-meta_value/#post-6086349)
 * Dear enqis
 * Better is use “radio” type field. Then you can filter using [WP Meta Query](https://codex.wordpress.org/Class_Reference/WP_Meta_Query)
   or using our [Views](http://wp-types.com/home/views-create-elegant-displays-for-your-content/)
   plugin (this is paid plugin) to create view with that filter.
 * Cheers,
    Marcin
 *  Thread Starter [enqis](https://wordpress.org/support/users/enqis/)
 * (@enqis)
 * [11 years ago](https://wordpress.org/support/topic/database-meta_value/#post-6086350)
 * I can’t use radio buttons cause i need to let users to check multiple fields 
   like:
    red, green out of red green blue and then via front of our page search
   for red posts, green posts and red&green posts.
 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [11 years ago](https://wordpress.org/support/topic/database-meta_value/#post-6086368)
 * That not good.
 * We do not handle sorting/filtering with checkboxes at all. ;(
 * Marcin

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

The topic ‘Database meta_value’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/database-meta_value/#post-6086368)
 * Status: resolved