Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2008, 05:00 PM
Senior Member
 
Join Date: Jan 2008
Location: chicago
Posts: 101
Default Zend_Form not XHTML 1.0 Strict

Is anyone else having trouble getting the Zend_Form class (for ZF version 1.5) to validate as XHTML 1.0 Strict? It validates in XHTML 1.0 Transitional, but not Strict. Can I change a configuration value in the constructor or something?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-14-2008, 01:58 AM
kmg kmg is offline
Junior Member
 
Join Date: Mar 2008
Posts: 9
Default

Whether or not the default HTML output validates, you can use the decorators applied to the form elements to generate any HTML output you want using methods like Zend_Form::setDecorators and Zend_Form::setElementDecorators. What I haven't been able to figure out yet, is how to get to the decorators for the error helper.

Zend Framework: Documentation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:10 AM.