• Resolved medium.sth

    (@mediumsth)


    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)
  • 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

    (@mediumsth)

    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.