FormElementFactory now working