Form api: Combine two text fields into a div? Using the form api is it possible to combine two text fields onto the same row?

E.g. form 

&lt;?php
function foo_form($form, $form_state) {
  $form = array();

  $form['range'] = array(
    '#type' =&gt; 'fieldset',
 );

  $form['range']['min'] = array(
     '#type' =&gt; 'textfield',
     '#title' =&gt; 'Address'
  ),
  $form['range']['address2'] = array(
     '#type' =&gt; 'textfield',
     '#title' =&gt; 'Address'
  )
  // ...
  return $form;
}


Desired output

&lt;div&gt;
  &lt;h2&gt;Range&lt;/h2&gt;
  &lt;input name="min" /&gt; to &lt;input name="max" /&gt;
&lt;/div&gt;
&lt;?php
function foo_form($form, $form_state) {
  $form = array();

  $form['range'] = array(
    '#type' =&gt; 'fieldset',
    '#prefix' =&gt; '&lt;div class="myclass"&gt;',
 );

  $form['range']['min'] = array(
     '#type' =&gt; 'textfield',
     '#title' =&gt; 'Address'
  ),
  $form['range']['address2'] = array(
     '#type' =&gt; 'textfield',
     '#title' =&gt; 'Address'
     '#suffix' =&gt; '&lt;/div&gt;',
  )
  // Remaining code
  return $form;
}