bwanders / dokuwiki-strata

Strata - a Semi-Structured Data plugin for Dokuwiki
https://www.dokuwiki.org/plugin:strata
17 stars 8 forks source link

Enumerate options for text entries #26

Closed iainhallam closed 2 years ago

iainhallam commented 8 years ago

I'm making a database of singers in DokuWiki, and trying out the Strata plugin. Seems to be going well, but I'm missing having an enum type; is there a way of setting up lists that restrict entry to only those items, such as a list of voice parts "Soprano, Alto, Tenor, Bass" so that we don't get typos polluting our database? For that matter, one form of Boolean like "Yes, No", would be another candidate for this.

bwanders commented 8 years ago

There is currently no way to restrict any input. The philosophy behind Strata is that users are allowed to input whatever they want, and can come back later to fix things.

This does mean that you get some data pollution (as you nicely call it). This would be best fixed by having a UI that does suggestions. As we currently do not have that, there are three options to provide some kind of insight or restriction:

Hope that helps!