PDA

View Full Version : Some text after form field (autoCreate: true)



72
3 May 2007, 11:45 PM
Hi,
i have a following problem. Im creating forms using Ext.id() and autoCreate: true (i can't do it in other way because of im building forms using arrays), but i need to add some infos after, for example textField and after that have to be "fill your username with alfanum chars only". Its some kind of label.

Is there a way to achieve this?
Or have anyone extended field class to do that? I dont want reinvent the wheel :)



I tried many things, but no way :)


Thanks for replies

jsakalos
4 May 2007, 6:04 AM
Form field, after it is rendered, keeps reference to it's container. Try to use DomHelper to append your element to this container.