Added a new form helper for trees