I'm using

<?php echo $this->doctype( 'XHTML1_STRICT' ); ?>

in my layout.  Then I'm creating a form like this:

$form = new Zend_Form;
$form->setAction( '/user/signup' )->setMethod( 'post' );
$form->addElement( new Zend_Form_Element_Text( 'username' ) );

which creates an input field that's missing the closing slash near the end:

<input type="text" name="username" id="username" value="">

Is there anything else I'm supposed to do to get valid html?


Thanks,


-- 
Greg Donald
http://destiney.com/

Reply via email to