Anyone know how to make a label and it's text box 'butt up' against each other. Currently right now with the below code my label looks like this
label : [textbox all the way over here ]
The goal would be to have your textbox aligned left toward the label. Also, has anyone ever been able to put two labels and textboxes on one line like so :
label : [textbox ] label : [textbox]
Current code below:
label : [textbox all the way over here ]
The goal would be to have your textbox aligned left toward the label. Also, has anyone ever been able to put two labels and textboxes on one line like so :
label : [textbox ] label : [textbox]
Current code below:
elements :
[
{
id : 'input1',
type : 'text',
labelLayout : 'horizontal',
label : 'Input 1'
}
]

answer maybe it helps users in the future
elements : [ { type : 'text', id : 'var1', label : 'Adresse ', labelLayout : 'horizontal', commit : function( data ) { data.var1= this.getValue(); } }, { type : 'text', id : 'var2', label : 'Adresse ', labelLayout : 'horizontal', commit : function( data ) { data.var2= this.getValue(); } }]