Index: README.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/compact_forms/README.txt,v
retrieving revision 1.1.4.1
diff -u -p -r1.1.4.1 README.txt
--- README.txt	9 Jan 2011 06:02:11 -0000	1.1.4.1
+++ README.txt	9 Jan 2011 06:10:29 -0000
@@ -36,6 +36,15 @@ To submit bug reports and feature sugges
   Compact Forms.
 
 
+-- CUSTOMIZATION --
+
+* To programmatically disable the compact forms behavior on a particular form,
+  set the following property on the $form element in your form constructor
+  function or via hook_form_alter():
+
+    $form['#compact_forms'] = FALSE;
+
+
 -- CONTACT --
 
 Current maintainers:
Index: compact_forms.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/compact_forms/compact_forms.module,v
retrieving revision 1.8
diff -u -p -r1.8 compact_forms.module
--- compact_forms.module	6 Aug 2009 20:27:22 -0000	1.8
+++ compact_forms.module	9 Jan 2011 06:08:52 -0000
@@ -63,6 +63,18 @@ function compact_forms_form_alter(&$form
   }
 
   if (in_array($form_id, $form_ids) || (isset($form['#id']) && in_array($form['#id'], $css_ids))) {
+    // If the custom #compact_forms property has been programmatically set to
+    // FALSE, do not process this form.
+    if (isset($form['#compact_forms']) && !$form['#compact_forms']) {
+      // Also remove it from the CSS IDs being added as JS settings.
+      foreach ($css_ids as $key => $value) {
+        if ($value == $form['#id']) {
+          unset($css_ids[$key]);
+        }
+      }
+      return;
+    }
+
     // Load our page requisites and JavaScript settings.
     if (!isset($loaded)) {
       _compact_forms_include_js($css_ids);
