Last modified: 2010-11-23 19:04:28 UTC
Add a flag to a field that uses autocompletion that causes the final value to be checked for page existence. On Submit, when the flag is excluded, the field potentially holds a page that does not exist. When the flag is included, if the field holds a page that does not exist, an error message is displayed on the screen, and the Submit fails, waiting for further edits.
Clarification: Consider a field that lets a user set their homepage: {{{field|Homepage|autocomplete on category=Wiki Page}}} where all valid home pages are in category Wiki Page. Today, this field specification will allow the user to save the name of a page that does not exist. For example, {{{field|Homepage|autocomplete on category=Wiki Page|mustexist}}} The user could still type in a non-existing page. Existence is verified after the user hits "Save page". If the page does not exist, an error message displays and the form stays open, similarly to how it functions on a missing mandatory field.
Fixed the title to be more general
Resolving this issue so it can be deleted and better stated.