Implemented ajax callback. Now the formfield behavior has to be debugged.
Fixed errors in hiding/displaying behavior of field and managing mandatory property.