Formtastic documentation

Example of a transposed table in Excel export

In our example, the form contains the input fields Customer and Order number. After that there is a table with the fields Product, Price and Quantity. The following entries were made here as an example:

Customer: Smith
Oder number: 1234

ProductPriceQuantity
Trousers100€2
T-Shirt20€1
Socks10€4

The transposed export would look like this:

CustomerOrder numberProductPriceQuantity
Smith1234Trousers100€2
Smith1234T-Shirt20€1
Smith1234Socks10€4
Example: Export with transposed table

A not transposed (normal) export would look like this:

CustomerOrder numberProduct1Price1Quantity1Product2Price2Quantity2Product3Price3Quantity3
Smith1234Trousers100€2T-Shirt20€1Socks10€4
Example: Export with standard table

Page content