Form: 2 TextFields side by side

Hi,

I have to create a form with the fields first name, last name and city. By default every field is displayed in a new line.

Is it possible two display two fields of them side by side in the same line? I like to position the first name and the last name field in one line. (See screenshot).

I tried to solve this by adding horizontal or vertical layouts to the form, but it didn’t work.
12044.png

Hi,

You maybe should try forms
add-on
and also
this sample
is probably what you are looking for.

cheers,
sasha.

Or make everything supa easy for you and build the layout separately, even using our eclipse plugin’s VisualEditor, and bind the layout to actual Form with FormBinder:

http://vaadin.com/directory#addon/formbinder

cheers,
matti