[DISCONTINUED] Alternative in the description.
JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
FieldtypeTextboxList.module
InputfieldTextboxList.css
InputfieldTextboxList.js
InputfieldTextboxList.module
README.md
close.gif

README.md

TextboxList

As there is a new Module called InputfieldChosenSelect which uses the same interface but works as a Page Field what is probably even smarter I discontinue supporting this module here. But if you should prefer a comma sepearated list instead of real pages feel free to still use it.


This inputfield adds Facebook like TextboxLists to ProcessWire.

The field's contents are stored as a comma separated list in the database.

Here is a small example on how to output it in your template:

// "tags" is the name of the field
$tags = $page->tags;

// split the comma seperated list
foreach(explode(',', $tags) as $tag) {
  echo trim($tag).'<br>';
}