디스플레이 그룹에서 라벨을 제거하는 방법을 알아 내려고, 아래의 마크 업을 보면 ID 주소 라벨과 다음 dd가있는 dt가 있음을 알 수 있습니다. , 나는 이것을 제거하고 싶지만 필드 집합을 유지하십시오.젠드 폼 디스플레이 그룹 데코레이터
디스플레이 그룹을 추가하려면 각 요소를 추가 한 후에 $this->addDisplayGroup(array(...), 'legend' => 'address');
을 내 양식 init 클래스 내에 사용하고 있습니다. 내가 가지고 싶지 않은 요소를 제거하기 위해 사용할 수있는 데코레이터가 있습니까? ?
<form id="CreateAddress" enctype="application/x-www-form-urlencoded" action="" method="post">
<dl class="zend_form">
<dt id="address-label"> </dt>
<dd id="address-element">
<fieldset id="fieldset-address">
<legend>Address</legend>
<dl>
<dt id="addressLine1-label">
<label for="addressLine1" class="required">Address Line 1</label>
</dt>
<dd id="addressLine1-element">
<input type="text" name="addressLine1" id="addressLine1" value="">
</dd>
...etc...
</fieldset>
</dd>
...buttons...
</dl>
</form>
감사합니다,
마틴