Summary: autocompletion allows only existing values
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: SemanticForms

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".

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to