Using forms to create a fillable table

This tip describes a way to allow users to add a progressive number of rows to a table inside a Semantic Form without needing to know wiki table markup. This can be very useful if you are levraging a Form to build an entire article, and you want users to fill out rows of a defined table.

This tip is very similar to: Use the ask template format to create tabular output

Template to create a the table header
This would be the template piece where the table header row is defined. I use a particular naming convention for Form Template pieces. In this case: Template:Forms/Table Header

{| !Column Title 1 !! Column Title 2 !! Column Title 3

Template to create the table rows content
This is the template that allows user to input the data for the template rows. Obviously adjust this as necessary, based on your table structure. For a name: Template:Forms/Table Body



Template to create the table footer
Finally close the table. Template:Forms/Table Footer


 * }

Updating the Form
These templates are designed to exist as a reusable part of a form. To add the 3 components to your form use the following code: