Title: [Plugin: Custom Field Template] Bug with saving selectboxes
Last modified: August 19, 2016

---

# [Plugin: Custom Field Template] Bug with saving selectboxes

 *  [daveleeone](https://wordpress.org/support/users/daveleeone/)
 * (@daveleeone)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-bug-with-saving-selectboxes/)
 * I found a bug with selectboxes and the wordpress-saving/pubishing dialog.
    When
   I create a new article and fill-out all items, the selectboxes only lost their
   value. (checkbox, text, textarea, radio work well)
 * How it works indirectly:
    1. create an new article 2. enter the name of the article
   3. save the article 4. fillout the selectboxes 5. publish the the article
 * have you any idea how can i resolved the bug?
 * [http://wordpress.org/extend/plugins/custom-field-template/](http://wordpress.org/extend/plugins/custom-field-template/)

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

 *  Plugin Author [Hiroaki Miyashita](https://wordpress.org/support/users/hiroaki-miyashita/)
 * (@hiroaki-miyashita)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-bug-with-saving-selectboxes/#post-1947714)
 * Let me show your template content you set. I will test it in my server. Thanks.
 *  Thread Starter [daveleeone](https://wordpress.org/support/users/daveleeone/)
 * (@daveleeone)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-bug-with-saving-selectboxes/#post-1947716)
 * thanks for your quick reply.
 * Excuse me, I had mixed checkbox and select.
    **checkboxes** do **not work**.
 * Here is the code of the template
 *     ```
       [cft_group1_fieldset]
       type = fieldset_open
       legend = Kontakt
       multiple = true
   
       [Geschlecht]
       type = select
       value = Frau # Mann
       default = Frau
       label = Geschlecht
       hideKey = true
       search = true
       output = true
   
       [Adresse_firma]
       type = text
       size = 35
       label = Institution
       hideKey = true
       search = true
       output = true
   
       [Adresse_webseite]
       type = text
       size = 35
       label = Webseite ( ohne http:// )
       hideKey = true
       search = true
       output = true
   
       [Adresse_webseite2]
       type = text
       size = 35
       label = 2. Webseite ( ohne http:// )
       hideKey = true
       search = true
       output = true
   
       [Adresse_funktion]
       type = text
       size = 35
       label = Funktion
       hideKey = true
       search = true
       output = true
   
       [Adresse_strasse]
       type = text
       size = 35
       label = Strasse / Hausnummer
       hideKey = true
       search = true
       output = true
   
       [Adresse_PLZ]
       type = text
       size = 35
       label = PLZ / Ort
       hideKey = true
       search = true
       output = true
   
       [Adresse_land]
       type = select
       value = Österreich # Deutschland # Schweiz
       default = Österreich
       label = Land
       code = 0
       hideKey = true
       search = true
       output = true
   
       [Adresse_bundesland]
       type = select
       value = Burgenland # Kärnten # Niederösterreich # Oberösterreich # Salzburg # Steiermark # Tirol # Vorarlberg # Wien
       label = Bundesland (nur Österreich)
       hideKey = true
       code = 0
       search = true
       output = true
   
       [Telefon]
       type = text
       size = 35
       label =  Telefon (Format +43 01/123456)
       hideKey = true
       search = true
       output = true
   
       [Mobile]
       type = text
       size = 35
       label =  Mobil (Format +43 01/123456)
       hideKey = true
       search = true
       output = true
   
       [Fax]
       type = text
       size = 35
       label = Fax (Format +43 01/123456)
       hideKey = true
       search = true
       output = true
   
       [Email]
       type = text
       size = 35
       label = Email
       hideKey = true
       search = true
       output = true
   
       [cft_group1_fieldset]
       type = fieldset_close
   
       [cft_group3_fieldset]
       type = fieldset_open
       legend = Schwerpunkte
       multiple = true
   
       [Fachgebiet]
       type = checkbox
       value = Abwanderung # Antirassismus # Asyl/Flucht # Asylrecht # Berufliche/Soziale/Kulturelle Integration # Bildung & Migration # Binationale Familien # Diversität # Diversity Reporting # Fremdenrecht # Integrationspolitik # Interkulturelles Zusammenleben # Kultur & Unterhaltung # Migration & Alter # Migration & Behinderung # Migration & Jugend # Migration & Gender # Migration & Gesundeit # Migration & Medien # Migration & Raumplanung # Migration & Stadtplanung # Migrationspolitik Europa # Migrationspolitik Österreich # Minderheiten # Religion/interreligiöser Dialog # Wirtschaft & Migration # Wirtschaft & Arbeitsmarkt # Wirtschaft & Arbeitsrecht # Zwei&Mehrsprachigkeit # Zivilgesellschaft # Zuwanderung
       label = Fachgebiet
       hideKey = true
       multiple = true
       search = true
       output = true
       sort = order
   
       [Fachgebiet_n]
       type = text
       size = 35
       label = weitere Fachgebiete
       hideKey = true
       search = true
       output = true
   
       [Fachgebiet_n2]
       type = text
       size = 35
       hideKey = true
       search = true
       output = true
   
       [Fachgebiet_n3]
       type = text
       size = 35
       hideKey = true
       search = true
       output = true
   
       [Fachgebiet_n4]
       type = text
       size = 35
       hideKey = true
       search = true
       output = true
   
       [Fachgebiet_n5]
       type = text
       size = 35
       hideKey = true
       search = true
       output = true
   
       [Fachgebiet_n6]
       type = text
       size = 35
       hideKey = true
       search = true
       output = true
   
       [Arbeitsschwerpunkte]
       type = textarea
       rows = 4
       cols = 40
       label = Arbeitsschwerpunkte
       hideKey = true
       search = true
       output = true
       tinyMCE = true
   
       [Sprache]
       type = checkbox
       value = Deutsch # BKS (Bosnisch, Kroatisch, Serbisch) # Bulgarisch # Chinesisch # Englisch # Französisch # Italienisch # Kurdisch # Polnisch # Russisch # Spanisch # Türkisch
       default = Deutsch
       label = Sprache(n)
       multipleButton = true
       hideKey = true
       search = true
       output = true
   
       [Sprache_n]
       type = text
       size = 35
       label = weitere Sprachen
       hideKey = true
       search = true
       output = true
   
       [Sprache_n2]
       type = text
       size = 35
       hideKey = true
       search = true
       output = true
   
       [Sprache_n3]
       type = text
       size = 35
       hideKey = true
       search = true
       output = true
   
       [Bilder Upload]
       type = file
       relation = true
       label = Laden Sie Ihr Foto hoch
       search = true
       output = true
   
       [cft_group3_fieldset]
       type = fieldset_close
       ```
   
 *  Plugin Author [Hiroaki Miyashita](https://wordpress.org/support/users/hiroaki-miyashita/)
 * (@hiroaki-miyashita)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-bug-with-saving-selectboxes/#post-1947724)
 * Unfortunately, the checkbox type in the fieldset type is not supported yet. I
   will try to fix it in the future release. Thanks.
 *  Thread Starter [daveleeone](https://wordpress.org/support/users/daveleeone/)
 * (@daveleeone)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-bug-with-saving-selectboxes/#post-1947743)
 * I’ve tried to create checkboxes out of a fieldset,but i have the same problem
   with saving.

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

The topic ‘[Plugin: Custom Field Template] Bug with saving selectboxes’ is closed
to new replies.

 * ![](https://ps.w.org/custom-field-template/assets/icon-256x256.png?rev=1966286)
 * [Custom Field Template](https://wordpress.org/plugins/custom-field-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-field-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-template/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [daveleeone](https://wordpress.org/support/users/daveleeone/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-bug-with-saving-selectboxes/#post-1947743)
 * Status: not resolved