form elements

adjusted to get rid of Zend dependencies.