Tutorial:Simple To Do List Enhancements: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 45: | Line 45: | ||
=== What field type? === | === What field type? === | ||
So, let's add a | So, let's add a Priority field to the library. The first thing to decide is what field type to use. A Text field could be used, and Memento's Autocomplete feature for Text fields would help a little with that, but it is an inadequate choice in many ways. | ||
Memento has a couple of multiple-choice field types — Multiple-choice List and Checkboxes — and if a task must really be able to be in multiple categories, they may be used, but they come at a cost, as sorting doesn't work on them and they present other anomalies, as well. | Memento has a couple of multiple-choice field types — Multiple-choice List and Checkboxes — and if a task must really be able to be in multiple categories, they may be used, but they come at a cost, as sorting doesn't work on them and they present other anomalies, as well. | ||
Ideally, a task can be in a specified category and in only one category, and if that is true, it can be used in Memento to maximum benefit for the user. We will assume that a task has at most one | Ideally, a task can be in a specified category and in only one category, and if that is true, it can be used in Memento to maximum benefit for the user. We will assume that a task has at most one priority. That makes sense. | ||
Given this, there are two field types to consider — Single-choice List and Radio Buttons. Radio buttons are simple and familiar to most users, so let's use that field type. | Given this, there are two field types to consider — Single-choice List and Radio Buttons. Radio buttons are simple and familiar to most users, so let's use that field type. |