Form with multiple columns of input.

Is it possible to get minimum of two line of entry in horizantal raw (product option selection, and the quantity) like a product cart

Thanks