generate full formTemplate with all fields