New approach for form field generation. It works but it needs a lot of refactoring.