When you submit a form containing a tree two form variables are created: Form Tree Name node Contains the node the user has selected without the path to the node Form. TreeName. path Contains the complete path to the selected node, such as root\nodel\node2\node3 You will probably notice that the root node is included in the Form.…