fixing a bug for the display of hidden elements.
Adding a __toString() method for form element, which display the html code. Adding parsing function and conditions for the FieldFactory