<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body style="direction: ltr;" bidimailui-charset-is-forced="true"
    bidimailui-detected-decoding-type="latin-charset" text="#000000"
    bgcolor="#ffffff">
    <p style="margin-bottom: 0cm; margin-top: 0pt;">I'm using the method
      given at <a href="http://drupal.org/node/357328#comment-3021230">http://drupal.org/node/357328#comment-3021230</a>
      to disable a submit button in a form (after trying to simply set
      #disabled in hook_form_alter). I have the module set with a weight
      of 10, the code works as it should in terms of setting the
      attribute for the field (below), but the field is not disabled. I
      note that the attribute is being set to 'disabled' rather than
      TRUE in this and another almost identical example. I tried it with
      TRUE just in case, to no avail.<br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
    </p>
    <p style="margin-bottom: 0cm; margin-top: 0pt;"><span
        class="Apple-style-span" style="border-collapse: separate;
        color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size:
        16px; font-style: normal; font-variant: normal; font-weight:
        normal; letter-spacing: normal; line-height: normal; orphans: 2;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px;"><span class="Apple-style-span"
          style="font-family: arial; font-size: 12px; line-height:
          19px;">
          <div class="krumo-element krumo-expand krumo-opened "
            style="cursor: pointer; line-height: 24px; display: block;
            clear: both; white-space: nowrap; border-top: 1px solid
            white; background-color: rgb(204, 204, 204); padding-left:
            10px;"><a class="krumo-name" style="cursor: pointer; color:
              rgb(44, 88, 88); outline-style: none; text-decoration:
              none; font: bold 13px Arial;">checkout</a><span
              class="Apple-converted-space">&nbsp;</span>(<em
              class="krumo-type" style="text-decoration: none;
              font-weight: normal;">Array,<span
                class="Apple-converted-space">&nbsp;</span><strong
                class="krumo-array-length" style="font-weight: normal;">21
                elements</strong></em>)</div>
          <div class="krumo-nest" style="display: block;">
            <ul class="krumo-node" style="margin: 0px 0px 0px 20px;
              padding: 0px;">
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#type</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">String,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-string-length" style="font-weight:
                      normal;">6 characters</strong><span
                      class="Apple-converted-space">&nbsp;</span></em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-string">submit</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#value</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">String,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-string-length" style="font-weight:
                      normal;">8 characters</strong><span
                      class="Apple-converted-space">&nbsp;</span></em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-string">Checkout</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element krumo-expand " style="cursor:
                  pointer; line-height: 24px; display: block; clear:
                  both; white-space: nowrap; border-top: 1px solid
                  white; background-color: rgb(204, 204, 204);
                  padding-left: 10px;"><a class="krumo-name"
                    style="cursor: pointer; color: rgb(44, 88, 88);
                    outline-style: none; text-decoration: none; font:
                    bold 13px Arial;">#submit</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Array,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-array-length" style="font-weight:
                      normal;">1 element</strong></em>)</div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#post</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Array,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-array-length" style="font-weight:
                      normal;">0 elements</strong></em>)</div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#programmed</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Boolean</em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-boolean">FALSE</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#tree</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Boolean</em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-boolean">FALSE</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element krumo-expand " style="cursor:
                  pointer; line-height: 24px; display: block; clear:
                  both; white-space: nowrap; border-top: 1px solid
                  white; background-color: rgb(204, 204, 204);
                  padding-left: 10px;"><a class="krumo-name"
                    style="cursor: pointer; color: rgb(44, 88, 88);
                    outline-style: none; text-decoration: none; font:
                    bold 13px Arial;">#parents</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Array,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-array-length" style="font-weight:
                      normal;">1 element</strong></em>)</div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element krumo-expand " style="cursor:
                  pointer; line-height: 24px; display: block; clear:
                  both; white-space: nowrap; border-top: 1px solid
                  white; background-color: rgb(204, 204, 204);
                  padding-left: 10px;"><a class="krumo-name"
                    style="cursor: pointer; color: rgb(44, 88, 88);
                    outline-style: none; text-decoration: none; font:
                    bold 13px Arial;">#array_parents</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Array,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-array-length" style="font-weight:
                      normal;">1 element</strong></em>)</div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#weight</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Float</em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-float">0.003</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#processed</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Boolean</em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-boolean">TRUE</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#description</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type krumo-null"
                    style="text-decoration: none; font-weight: normal;">NULL</em>)</div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element krumo-expand krumo-opened "
                  style="cursor: pointer; line-height: 24px; display:
                  block; clear: both; white-space: nowrap; border-top:
                  1px solid white; background-color: rgb(204, 204, 204);
                  padding-left: 10px;"><a class="krumo-name"
                    style="cursor: pointer; color: rgb(44, 88, 88);
                    outline-style: none; text-decoration: none; font:
                    bold 13px Arial;">#attributes</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Array,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-array-length" style="font-weight:
                      normal;">1 element</strong></em>)</div>
                <div class="krumo-nest" style="display: block;">
                  <ul class="krumo-node" style="margin: 0px 0px 0px
                    20px; padding: 0px;">
                    <li class="krumo-child" style="padding: 0px; margin:
                      0px; line-height: 1.6em; display: block;
                      list-style-type: none; overflow: hidden;">
                      <div class="krumo-element" style="cursor: default;
                        line-height: 24px; display: block; clear: both;
                        white-space: nowrap; border-top: 1px solid
                        white; background-color: rgb(232, 232, 232);
                        padding-left: 10px;"><a class="krumo-name"
                          style="cursor: pointer; color: rgb(44, 88,
                          88); outline-style: none; text-decoration:
                          none; font: bold 13px Arial;">disabled</a><span
                          class="Apple-converted-space">&nbsp;</span>(<em
                          class="krumo-type" style="text-decoration:
                          none; font-weight: normal;">String,<span
                            class="Apple-converted-space">&nbsp;</span><strong
                            class="krumo-string-length"
                            style="font-weight: normal;">8 characters</strong><span
                            class="Apple-converted-space">&nbsp;</span></em>)<span
                          class="Apple-converted-space">&nbsp;</span><strong
                          class="krumo-string">disabled</strong></div>
                    </li>
                  </ul>
                </div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#required</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Boolean</em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-boolean">FALSE</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#input</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Boolean</em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-boolean">TRUE</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element" style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#name</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">String,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-string-length" style="font-weight:
                      normal;">2 characters</strong><span
                      class="Apple-converted-space">&nbsp;</span></em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-string">op</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#button_type</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">String,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-string-length" style="font-weight:
                      normal;">6 characters</strong><span
                      class="Apple-converted-space">&nbsp;</span></em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-string">submit</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element" style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#executes_submit_callback</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Boolean</em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-boolean">TRUE</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element krumo-expand " style="cursor:
                  pointer; line-height: 24px; display: block; clear:
                  both; white-space: nowrap; border-top: 1px solid
                  white; background-color: rgb(204, 204, 204);
                  padding-left: 10px;"><a class="krumo-name"
                    style="cursor: pointer; color: rgb(44, 88, 88);
                    outline-style: none; text-decoration: none; font:
                    bold 13px Arial;">#process</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Array,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-array-length" style="font-weight:
                      normal;">1 element</strong></em>)</div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#id</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">String,<span
                      class="Apple-converted-space">&nbsp;</span><strong
                      class="krumo-string-length" style="font-weight:
                      normal;">13 characters</strong><span
                      class="Apple-converted-space">&nbsp;</span></em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-string">edit-checkout</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element " style="cursor: default;
                  line-height: 24px; display: block; clear: both;
                  white-space: nowrap; border-top: 1px solid white;
                  background-color: rgb(232, 232, 232); padding-left:
                  10px;"><a class="krumo-name" style="cursor: pointer;
                    color: rgb(44, 88, 88); outline-style: none;
                    text-decoration: none; font: bold 13px Arial;">#defaults_loaded</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Boolean</em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-boolean">TRUE</strong></div>
              </li>
              <li class="krumo-child" style="padding: 0px; margin: 0px;
                line-height: 1.6em; display: block; list-style-type:
                none; overflow: hidden;">
                <div class="krumo-element krumo-hover" style="cursor:
                  default; line-height: 24px; display: block; clear:
                  both; white-space: nowrap; border-top: 1px solid
                  white; background-color: rgb(183, 219, 219);
                  padding-left: 10px;"><a class="krumo-name"
                    style="cursor: pointer; color: rgb(44, 88, 88);
                    outline-style: none; text-decoration: none; font:
                    bold 13px Arial;">#sorted</a><span
                    class="Apple-converted-space">&nbsp;</span>(<em
                    class="krumo-type" style="text-decoration: none;
                    font-weight: normal;">Boolean</em>)<span
                    class="Apple-converted-space">&nbsp;</span><strong
                    class="krumo-boolean">TRUE</strong></div>
              </li>
            </ul>
          </div>
        </span></span></p>
    <div class="moz-signature"><br>
      <br>
      -- <br>
      <p style="margin-bottom: 0in;"><img
          src="cid:part1.07040707.02000700@ayendesigns.com"
          name="ayenlogo" valign="top" vspace="30" align="LEFT"
          border="0">
        <font style="font-size: 8pt;" size="1">Ayen Designs </font><font
          face="Times New Roman, serif"><font style="font-size: 8pt;"
            size="1">
            <br>
            388 Bullsboro Drive #105 &middot; Newnan, Georgia 30263</font></font>
        <br>
        <font face="Times New Roman, serif"><font style="font-size:
            8pt;" size="1">
            404-271-9734<br>
            Web:<a href="http://ayendesigns.com">ayendesigns.com</a><br>
            Blog: <a href="http://theaccidentalcoder.com">theAccidentalCoder.com</a><br>
            Drupal: <a href="http://drupal.org/user/367108">j. ayen
              green</a><br>
            IRQ: j_ayen_green<br>
            IM (Yahoo) baalwww&nbsp;&nbsp;&nbsp;&nbsp;(MSN) <a class="moz-txt-link-abbreviated" href="mailto:baalwww@yahoo.com">baalwww@yahoo.com</a><br>
            Skype: ayendesigns
            <br>
            <br>
            Ayen Designs is a tradename of the computer services
            division of <img
              src="cid:part2.06080302.08050709@ayendesigns.com"
              name="acmelogo" align="absmiddle"></font></font></p>
    </div>
  </body>
</html>