I'd suggest you try using CSS to style the default markup to your liking.
That is the easiest way out.

I've also written an article about customizing zend_form markup with a set
of decorators, you can see it here:
http://codeutopia.net/blog/2008/08/07/zend_form-decorator-tips/

I think there's also something about them on Zend Developer Zone.


Hope this helps.


--
Jani Hartikainen
http://codeutopia.net/



On Sat, 18 Oct 2008 22:19:35 +0300, Steven Szymczak <[EMAIL PROTECTED]> wrote:

I'm in the process of [attempting] to create a simple login form, using Zend_Form for the very first time. So far I'm failing, even after reading the docs.

The part that's really getting me are decorators. I know what they're supposed to do, I just can't figure out how to use them :o All that this form contains are two text inputs: username and password. I want the resulting form to look like:

Username: <username_input>
Password: <password_input>
<submit>

However, I can't figure out how to alter the decorators in order to accomplish this, short of writing my own decorator classes; and I'm sure there must be an easier way.

Sorry for my extreme newbiness...


Reply via email to