Adding new forms

Forms and tables are linked through the name. The name of the database table is the same as the name of the form xml file.

Start by adding the table. Now create a form file under local with the same name as the table name. If you need to manually link it from some other form, copy that file from the form/ directory as when modifying a form and use one of the record linking functions to it. The foreign key field in your new table to the existing table will be automatically used and filled in when the data is edited.