开发者

Zend Form from simple html

开发者 https://www.devze.com 2023-01-13 09:58 出处:网络
My task is to create a Zend Form from the next Html: <form method=\"post\"> <h3><a href=\"\">link1</a></h3>

My task is to create a Zend Form from the next Html:

<form method="post">
   <h3><a href="">link1</a></h3>
   <div>
      <input type="text" name="name1">
   </div>
   <h3><a href=""&g开发者_开发问答t;link2</a></h3>
   <div>
      <input type="text" name="name2">
   </div>
</form>


At the very least you'll have to remove DtDd Decorator, set the Html Decorator tag to div and remove the Label Decorator.

I suggest you make the form as best you can then work from that, at least give it a go.

In the worst situation you will have to write your own form elements to replicate this HTML.

0

精彩评论

暂无评论...
验证码 换一张
取 消