With the page Special:CreateForm, we now create the data entry form.
Create a form
Creating the form
On the "Create a form" page, enter a name for your new form. Since we create it for template Customer data, we give the form the same name (1). Select the template Customer data from the choice menu and click Add (2).Select templateThe customer data fields from the template Customer data are automatically integrated in the form.
Adjust the form label for the field contactperson to Contact and the form label for the field firstcontact to First contact. Change the input type for firstcontact to datepicker. Form editor
Scroll down the page and click Save page.
Now the form has been saved and is available for creating pages in the wiki.
Using the form
When we create a new customer page, we can now use the form page to create the page and to automatically include the customer data template in the page. The form page has the name Form:Customer data.
Enter a page name in the form field and click Create or edit to create a customer page . Create a customer page
Enter the customer data (1). You can additionally create some free text (2). Click Save page after editing the page (3). Dateneingabe während Seitenerstellung
Now you have created a customer page that collects customer data and shows the entered data on the page.
As the next step, we add the form edit mode option to pages that include the Customer data template. This allows to edit the template on existing pages at any time.