Form Tree

Zyxware default image1
| 1 min read
When you work on forms in Drupal where you want to have the same form array elements used multiple times in a form you can use the concept of for form tree. For example if you are working on a purchase order form where you want to have multiple rows of product information like say product name, product code, quantity, price etc, for each product added to the form. This can easily be done using the form tree as follows.