Form api: Combine two text fields into a div?
&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;
}