form button aligment

view: ‘form’,
data: [
{ type: ‘text’, name: ‘edtUPC’, label: ‘UPC’, value: ‘’, position: ‘label-left’, inputWidth: ‘200’, labelWidth: 100, align: ‘left’, labelAlign: ‘center’, id: ‘edtUPC’},
{ type: ‘form_button’, name: ‘btnSearch’, value: ‘Search’, align: ‘right’, width: 295, id: ‘btnSearch’}
], height: 100, id: 1294092263467
},

How to have the label in the left side of the form and the form_button in the same line on the right side of the form ?

The code shows the input text in one line and the button in antoher line (above).

use “sameline: true” as parameter on the button

I did like this:

{ view: ‘form’,id:‘formupc’,
data: [
{ type: ‘text’, name: ‘edtUPC’, label: ‘UPC’, value: ‘’, position: ‘label-left’, inputWidth: ‘200’, labelWidth: 100, align: ‘left’, labelAlign: ‘center’, id: ‘edtUPC’},
{ type: ‘form_button’, name: ‘btnSearch’, value: ‘Search’, align: ‘right’, width: 295, id: ‘btnSearch’}
], height: 100, id: 1294092263467, sameline: true
},

And also like this:

{ view: ‘form’,id:‘formupc’,
data: [
{ type: ‘text’, name: ‘edtUPC’, label: ‘UPC’, value: ‘’, position: ‘label-left’, inputWidth: ‘200’, labelWidth: 100, align: ‘left’, labelAlign: ‘center’, id: ‘edtUPC’},
{ type: ‘form_button’, name: ‘btnSearch’, value: ‘Search’, align: ‘right’, width: 295, id: ‘btnSearch’,sameline: true}
], height: 100, id: 1294092263467,
},

And both ways didn’t work…

Check the attached sample
form_0_4.ZIP (52.2 KB)

Thanks, works great !