How do I embed a view as a form field and pass the information on I have a view that lists a number of nodes with images, I would like to take a grid view version of this and utilize it as a form. When the user clicks on an image, it will act like a selection box. Then, when the form is submitted that information will be passed on. What is the best way to do this?
I ended up doing this with hook_form_alter() and views_embed_view you can also add html to a form this way.

function mymod_form_alter(&amp;$form, $form_state, $form_id) {

if ($form_id == 'your_form_id') {

       $form['what do you want'] = array(
         '#type' =&gt; 'textfield',
         '#title' =&gt; t('Question'),
         '#description' =&gt; t('Here is a question ?'),
         '#default_value' =&gt; $form['#node']-&gt;something ? $form['#node']-&gt;something : 'itis',
         '#required' =&gt; FALSE,
         '#suffix' =&gt; '&lt;div&gt;html test here&lt;/div&gt;',
         '#weight' =&gt; 0,
       );

       $form['contact_information'] = array(
         '#value' =&gt; "&lt;div&gt;some html&lt;/div&gt;",
       );

       $form['choose_an_image'] = array(
         '#value' =&gt; views_embed_view('my_image_view', $display_id = 'default'),
         '#weight' =&gt; 0,
       );

      return $form;
   }

}