Author: trueskew
Description:
Consider a field that lets a user set a value based on category Wiki Page:
{{{field|Homepage|autocomplete on category=Wiki Page}}}
Today, this field specification will allow the user to save a value that does not exist. I propose that the field be defined so that the final value is limited to existing values. For example,
{{{field|Homepage|autocomplete on category=Wiki Page|mustexist}}}
The user could still type in a non-existing page, since it's a combobox. Existence is verified after the user hits "Save page". If the value does not exist within the specified set (category=Wiki Page above), an error message displays and the form stays open. This behavior would match that of a mandatory string field that is empty on "Save page".
Version: unspecified
Severity: enhancement