Build the NeXTensio form

In this section of the tutorial you will create the NeXTensio list counter-part: the NeXTensio form. It will allow users add, edit and delete records, by using the NeXTensio list links.

To create the NeXTensio form, follow the next steps:

  1. Open the form page in Dreamweaver.

  2. Click on the Create NeXTensio Form Wizard icon on the MX Kollection tab of the Insert panel. Configure each of the steps as shown below.

  3. In the first step of the wizard, you must specify table information:

  4. In the second step of the wizard, you can define which table columns will have associated form fields:

  5. In the third step of the wizard, you can define validation rules for each field that will appear in the form. Since there is only one field, which accepts any text input, there is no point in using this feature at this moment, so you can directly click on Next to move on to the last step of the wizard.

  6. In the last step of the wizard, you can define form specific options:

The wizard will add some HTML elements to the page, like input fields and buttons. It will also add the insert, update and delete transaction. Due to the fact that an order column has been specified, it will also add an Auto-increment column trigger. When inserting a new record, the value of the order_crs field will equal the maximum of all existing order values plus 1. This way, new records will be placed last in the ordered list.

 

Now you can save the page and move on to modify the NeXTensio list in order to add records on top of the list, instead of the bottom.