views:

23

answers:

2

Hi all,

I wanted following output from Zend_Form please help

<form ...>
<div class="labels"><b>Name:</b></div>
<input type="text" value="" name="name" class="whitelabelform"><br>
<div class="labels"><b>Email:</b></div>
<input type="text" value="" name="email" class="whitelabelform"><br>
<div class="labels"><b>Security code:</b></div>
<div id="recaptcha_cs_fix">
<script type="text/javascript" src="http://src"&gt;&lt;/script&gt;&lt;/div&gt;
<div id="submitbtn"><input type="image" alt="Submit Button" src="submit_button.png"> 
<input type="hidden" value="true" name="submitted"></div>
</form>
A: 

I won`t code it for you but I can point you to a tutorial about Zend_Form. Its very easy to create what you seek take a look at it.

After you have tried if it doesnt work ask again, posting your code and we will help you fix it.

Iznogood
A: 

Watch this presentation, and you will manage to get any markup of Zend Form you need:

Leveraging Zend_Form Decorators

takeshin