2008年7月28日星期一

[fw-mvc] Zend_Form | Display Form Elements in one Row

Hallo,

I would like to achieve this:

<dt><label for="STARTDATETIME" class="sm optional">Beginn</label></dt>
<dd>
<input type="text" name="STARTDATETIME_DATEPART" id="STARTDATETIME_DATEPART"
value="" class="sm">
<input type="text" name="STARTDATETIME_TIMEPART" id="STARTDATETIME_TIMEPART"
value="" class="sm"></dd>

I.e. the two elements .._DATEPART and .._TIEMPART should be appear in one
row. I woll do it with css, but to do so, they need to be in one <dd>..</dd>
container.

I tried it with displayGroups but up to now without success.

Another problem is the sort order. How do displayGroups are sorted in
relation to simple frields?

--
View this message in context: http://www.nabble.com/Zend_Form-%7C-Display-Form-Elements-in-one-Row-tp18689240p18689240.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: