Extension:FormInputMik

The FormInputMik extension adds a input textbox and a submit button to wiki pages alike the ones generated by semantic forminput. Users can define the page name they want to edit (autocomplete is provided on predefined namespace) by entering text into the box.

When clicking on the submit button:


 * 1) if the page exists they will be redirected to the page edit
 * 2) if the page does not exists (or the text is blank) they will be redirected to the formlink page

It was adapted by Mik for the purpose of having a single button to add/edit page and avoid users to override existing pages with formlink.

Example
{|

Wiki code
type=create break=no width=70 form=People search on namespace=People placeholder=Type the contact name to check if it already exists buttonlabel=Submit newwin=true bgcolor=aqua

General syntax
FormInputMik are constructed like this:

The type parameter is mandatory and the only allowed value is create.

The form parameter is mandatory and defines the form to be used for adding/editing the page.

The search on namespace parameter is mandatory and defines the namespace for autocomplete the page names.