This page offers the possibility to add a new company to the database . The actual insert action and form will be generated automatically through the use of the Insert Record Form Wizard (Insert bar -> MX Kollection tab).
To build the insert page, you will have to follow the next steps:
Since creating web page designs is not the goal of this document, the page will have a pretty basic look, using only a header to quickly identify the page and the actual form added by the wizard.
First off, add some text to the page, stating its purpose: "Add company" (without the quotes). Set the text's format to Heading 2, so that it will become clearer to read, while maintaining reasonable proportions. Select the text and use the Format drop-down menu in the Property inspector to change its style.
Second, you'll have to add a horizontal rule after the text. This allows a neater separation between the page title and the actual insert form. To insert it, use the horizontal rule button on the Common tab (if using Dreamweaver MX) or the HTML tab (for Dreamweaver MX 2004) of the Insert bar.
The last thing to do when it comes to the page design, is to create
a new paragraph after the horizontal ruler. This is where the insert form
will be added. Just press the ENTER/RETURN
key to create the new paragraph.

Now start the Insert Record Form Wizard. Either click its associated button on the MX Kollection tab of the Insert bar, or select it from the Server Behaviors tab -> MX Kollection -> Forms -> Insert Record Form Wizard.
The Insert Record Form Wizard will have 2 or 3 steps, depending on if you have MX Form Validation installed. For this tutorial the validation step is not important. If you have installed the MX Kollection 3 bundle, then MX Form Validation is installed too, and you will have the third step in the wizard.
After opening the Insert Record Form Wizard (either from the Insert panel -> MX Kollection tab, or from the Server Behaviors tab -> MX Kollection), you will have to configure the first two steps:
For the first step, you will have to use the following options:

In the second step you have to decide which fields to display, and under which form:

The last step in the wizard concerns validation for the form elements. For the two existing fields there are no validation rules that can be applied to restrict bad input, and therefore the last step can be skipped. Click on the Finish button to exit the wizard's user interface and add it into the page.
Note: for the ASP and ColdFusion server models, the approach is similar; just replace the page extension with the one required by your server model .
You should now see the following code generated in the Dreamweaver
design view:

There is a Display error message server behavior that will be in charge of showing any handled error message. Also field hints and field error message are generated in the form.
The company insert page is now finished, and you can save and preview it in the browser. Let's see now how the generated page behaves in a browser.