PDA

View Full Version : How to put html besides combo field in Form



mysticav
15 May 2008, 12:23 AM
I want to put HTML text on the right side of a combo box in a form.

How can I do that ?

This is how I add the fields to the form:


items: [field1,field2,field3]

In this case, I want to add the html on the right side of field3

Philippe_Fery
15 May 2008, 12:31 AM
Hi!

Use the config option
title: 'Your combo label' to define the label and the config option
labelAlign: 'left' to display it on the left side of your combo

;-)

mysticav
15 May 2008, 1:44 AM
Well, actually is not just plain text like a label, I want to put a DIV element, or just other HTML elements.

Actually, I would like to know how to a DIV inside an Ext Form, being able to do that, I can add any kinf of content, like an image, a button, etc.