How to print form structure?