Title: [Plugin: Custom Field Template] singleList
Last modified: August 19, 2016

---

# [Plugin: Custom Field Template] singleList

 *  Resolved [medium.sth](https://wordpress.org/support/users/mediumsth/)
 * (@mediumsth)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-singlelist/)
 * I have one question:
 * The textarea can be used as “singleList”.
    _(Adds the attribute of singleList
   attribute in order to output with `<ul><li>` if the value is single. ex) singleList
   = true)_
 * This is my code to create the single list:
 * [fragen]
    type = textarea label = Zentrale Fragen rows = 10 cols = 60 singleList
   = true
 * When I look in my database, the input is not saved with `<ul><li>`.
    There are`
   <p>` and `<br/>`…
 * Can somebody help me with this problem?
 * — This is my complette Custom-Field-Template”-Code —
 * [fragen]
    type = textarea label = Zentrale Fragen rows = 10 cols = 60 singleList
   = true valueCount = true search = true
 * [ergebnis]
    type = textarea label = Zentrale Ergebnisse rows = 15 cols = 40 tinyMCE
   = true htmlEditor = true mediaButton = true mediaOffVideo = true mediaOffAudio
   = true mediaOffMedia = true valueCount = true search = true
 * [upload]
    type = file label = Upload PDF size = 30 mediaLibrary = true relation
   = true
 * [upload]
    type = file label = Upload PPT/PPTX size = 30 mediaLibrary = true relation
   = true
 * [upload]
    type = file label = Upload ZIP/RAR size = 30 mediaLibrary = true relation
   = true

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

 *  [Hiroaki Miyashita](https://wordpress.org/support/users/hiroaki-miyashita/)
 * (@hiroaki-miyashita)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-singlelist/#post-1649578)
 * When the single value is output by `[cft]` shortcode with the `output = true`
   attribute, `<ul>` and `<li>` are added by use of the `singleList` attribute. 
   So basically it is used with checkbox, radio, and select types. Thanks.
 *  Thread Starter [medium.sth](https://wordpress.org/support/users/mediumsth/)
 * (@mediumsth)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-singlelist/#post-1649582)
 * ok thanks for your fast reaction!
    And also thanks for this great Plug-in! It’s
   fantastic!
 * ——–
 * I think about my idea…
    and now, I use textfields with mutliple and multipleButton.

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

The topic ‘[Plugin: Custom Field Template] singleList’ 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/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [medium.sth](https://wordpress.org/support/users/mediumsth/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-singlelist/#post-1649582)
 * Status: resolved