Thanks for the link Jim.  Works very well for what I want to do.

@ matt, I think it would be a good thing if you could do that, would stop
stupid questions from people like me...:$


Jim Scherer wrote:
> 
> Have you looked into the description decorator?
> 
> http://www.nabble.com/Description-decorator-to15365525.html#a15365525
> 
> Jim
> 
> jamest wrote:
>> 
>> Is there a way to add notes and such within a form?
>> 
>> I want to be able to add some description text easily readable,
>> preferably in some <p></p> tags before the text element.
>> 
>> $form->addElements(array($name_notes,$name));
>> 
>> So you would ideally get:
>> 
>> <form....>
>> 
>> ...
>> <p>Please enter your full name in the following box.</p>
>> <dt>Name</dt>
>> <dd><input .... /></dd>
>> 
>> ...
>> 
>> </form>
>> 
>> Or is there a way to do this that I have missed?
>> 
>> I am passing the form to the view by using $this->view->form =
>> $this->getForm();
>> 
>> So if I continue to do it this way I would need to add the text in within
>> the form or change the way I pass the form to the view, but I like the
>> way of padding the whole form over.
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Add-extra-text-within-Zend-Form-tp16850745p16894498.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to