PDA

View Full Version : Button to side of form field?



Bucs
24 Nov 2010, 3:41 PM
Is there any way to place a button to the right of a form field that is in a field set? I would like to have a button to teh right of the Zip Code field in the following code:



xtype: 'form',
id: 'storeFinderForm',
scroll: 'vertical',
style: 'font-size: 11pt',
items: [{
xtype: 'fieldset',
title: 'Enter zip code to find nearby stores:',
defaults: {
labelWidth: '35%'
},
items: [{
xtype: 'textfield',
name: 'zip',
label: 'Zip Code',
required: true,
useClearIcon: true
}]
}]


Thanks!

evant
24 Nov 2010, 3:44 PM
HBox layout.

Bucs
24 Nov 2010, 3:45 PM
Sorry, I'm burnt out and can't think for myself right now :)

Thanks!