first working version but not all attributes defined yet
default formTarget is now null