Altering checkboxes rendering in a form I've a drupal website with a custom theme based on Zen.

In a specific page of my website, I've a form rendered by the Finder module (which uses the Drupal Form API).

I want to modify the way Drupal render the checkboxes of this particular form.

Let's say Drupal render my checkboxes like this : 



&lt;input type="checkbox"&gt; Choice 1


I want to modify the html into something like : 

&lt;input type="checkbox"&gt;
    Choice 1        
    &lt;div&gt;&lt;/div&gt;


This could allow me to better adjust the layout using CSS.

Can someone point me the right direction to achieve this ?

Solution : 

Since the finder outputs Checkboxes (and not many Checkbox), using #field_suffix didn't solve my problem. 
Why ? 
Because applying the following code : 



$form['finder_form']['type']['#field_suffix'] = "&lt;div&gt;field suffix&lt;/div&gt;";


Results in this : 



&lt;div class="form-checkboxes&gt;
    &lt;div&gt;
        &lt;input&gt;
    &lt;/div&gt;
    &lt;div&gt;
        &lt;input&gt;
    &lt;/div&gt;
    &lt;div class="suffix"&gt;&lt;/div&gt;
&lt;/div&gt;


So I ended up doing : 



foreach ($form['finder_form']['type']['#options'] as $key =&gt; $value) {
    $form['finder_form']['type']['#options'][$key] = $value." &lt;div class='suffix'&gt;&lt;/div&gt;";        
}


If a better approach is found, I will edit this.
The input element has no close tag, so this is not really a well-formed question.

That said, what you are probably looking for is hook_form_alter() which you would implement in your own custom module to alter this particular form element. 

Have a look at the #field_suffix propery for how you could append some arbitrary markup to your element.