Title: Multiple custom field values
Last modified: May 15, 2019

---

# Multiple custom field values

 *  Resolved [Sonika](https://wordpress.org/support/users/sonika/)
 * (@sonika)
 * [7 years ago](https://wordpress.org/support/topic/multiple-custom-field-values-2/)
 * I created meta box and added custom field with key “roomtypes”.
    My custom filed“
   roomtypes” will have some values.
 * So i will have one key and several values.
 * Is it possible to make button like “add one more text field”, like in plugin 
   [Custom Field Template](https://wordpress.org/plugins/custom-field-template/)?
 * To clear what i mean:
 *     ```
       $roomtypes  = get_post_meta($post->ID, 'roomtypes', false); 
             $sb_label = 'Room Type';
             foreach($roomtypes as $roomtype) {
             $sb_label .= '#' . $roomtype;
             }
       ```
   

Viewing 1 replies (of 1 total)

 *  [Gabriel Berzescu](https://wordpress.org/support/users/gabrielberzescu/)
 * (@gabrielberzescu)
 * [7 years ago](https://wordpress.org/support/topic/multiple-custom-field-values-2/#post-11549951)
 * Hi there Sonika,
 * In this case it looks like you need to select **Repeater** to **True** in the**
   Custom Fields Creator** screen.
 * More info about repeaters in this section of our documentation:
 * [https://www.cozmoslabs.com/docs/wordpress-creation-kit-documentation/custom-fields-creator/repeater-custom-meta-boxes/](https://www.cozmoslabs.com/docs/wordpress-creation-kit-documentation/custom-fields-creator/repeater-custom-meta-boxes/)
 * With the best of wishes,
    Gabriel

Viewing 1 replies (of 1 total)

The topic ‘Multiple custom field values’ is closed to new replies.

 * ![](https://ps.w.org/wck-custom-fields-and-custom-post-types-creator/assets/icon-
   256x256.png?rev=2257602)
 * [Custom Post Types and Custom Fields creator - WCK](https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wck-custom-fields-and-custom-post-types-creator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/)
 * [Active Topics](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wck-custom-fields-and-custom-post-types-creator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gabriel Berzescu](https://wordpress.org/support/users/gabrielberzescu/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/multiple-custom-field-values-2/#post-11549951)
 * Status: resolved