<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The process of creating an option for use in other content types is one of the first coding examples in "Pro Drupal 7 Development", Chapter 2. &nbsp;<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; 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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br class="Apple-interchange-newline">Sincerely,</div><div>-Blake</div><div><a href="mailto:bsenftner@earthlink.net">bsenftner@earthlink.net</a></div><div><a href="http://www.BlakeSenftner.com">www.BlakeSenftner.com</a></div><div><a href="http://www.MissingUbercartManual.com">www.MissingUbercartManual.com</a></div></span></span></div></span></span>
</div><div><a href="http://www.Droplabs.net">www.Droplabs.net</a></div>
<br><div><div>On Jun 28, 2011, at 6:25 PM, Jeff Greenberg wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div style="direction: ltr;" bidimailui-charset-is-forced="true" bidimailui-detected-decoding-type="latin-charset" text="#000000" bgcolor="#ffffff">
    Still unclear on this...not for lack of searching.&nbsp; If I add a field
    to node_type_form with hook_form_alter, how do I access that field's
    contents when NOT on the content type page? For example, if as a
    result of hook_form_alter my content type form shows the following:<br>
    <br>
    <span class="Apple-style-span" style="border-collapse: separate; font-family: 'Times New Roman'; 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; font-size: medium; "><span class="Apple-style-span" style="color: rgb(51, 51, 51);
        font-family: 'Lucida Grande','Lucida Sans Unicode',sans-serif;
        font-size: 13px; line-height: 20px;"><label for="edit-node-options" style="display: block; font-weight:
          bold; margin: 0px; padding: 0px; border-width: 0px;
          vertical-align: baseline;">Default options</label>
        <div id="edit-node-options" class="form-checkboxes" style="margin: 0px; padding: 0px; border-width: 0px;
          vertical-align: baseline;">
          <div class="form-item form-type-checkbox
            form-item-node-options-status" style="margin: 0px; padding:
            5px 0px; border-width: 0px; vertical-align: baseline;"><input id="edit-node-options-status" name="node_options[status]" value="status" checked="checked" class="form-checkbox" style="margin: 0px; padding: 0px; border-width: 0px;
              vertical-align: middle; font-family: 'Helvetica
              Neue',Helvetica,Arial,sans-serif;" type="checkbox"><span class="Apple-converted-space">&nbsp;</span><label class="option" for="edit-node-options-status" style="display: inline; font-weight: normal; margin: 0px;
              padding: 0px; border-width: 0px; vertical-align: baseline;
              text-transform: none; font-size: 0.923em;">Published</label></div>
          <div class="form-item form-type-checkbox
            form-item-node-options-promote" style="margin: 0px; padding:
            5px 0px; border-width: 0px; vertical-align: baseline;"><input id="edit-node-options-promote" name="node_options[promote]" value="promote" checked="checked" class="form-checkbox" style="margin:
              0px; padding: 0px; border-width: 0px; vertical-align:
              middle; font-family: 'Helvetica
              Neue',Helvetica,Arial,sans-serif;" type="checkbox"><span class="Apple-converted-space">&nbsp;</span><label class="option" for="edit-node-options-promote" style="display: inline; font-weight: normal; margin: 0px;
              padding: 0px; border-width: 0px; vertical-align: baseline;
              text-transform: none; font-size: 0.923em;">Promoted to
              front page</label></div>
          <div class="form-item form-type-checkbox
            form-item-node-options-sticky" style="margin: 0px; padding:
            5px 0px; border-width: 0px; vertical-align: baseline;"><input id="edit-node-options-sticky" name="node_options[sticky]" value="sticky" class="form-checkbox" style="margin: 0px;
              padding: 0px; border-width: 0px; vertical-align: middle;
              font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;" type="checkbox"><span class="Apple-converted-space">&nbsp;</span><label class="option" for="edit-node-options-sticky" style="display: inline; font-weight: normal; margin: 0px;
              padding: 0px; border-width: 0px; vertical-align: baseline;
              text-transform: none; font-size: 0.923em;">Sticky at top
              of lists</label></div>
          <div class="form-item form-type-checkbox
            form-item-node-options-revision" style="margin: 0px;
            padding: 5px 0px; border-width: 0px; vertical-align:
            baseline;"><input id="edit-node-options-revision" name="node_options[revision]" value="revision" class="form-checkbox" style="margin: 0px; padding: 0px;
              border-width: 0px; vertical-align: middle; font-family:
              'Helvetica Neue',Helvetica,Arial,sans-serif;" type="checkbox"><span class="Apple-converted-space">&nbsp;</span><label class="option" for="edit-node-options-revision" style="display: inline; font-weight: normal; margin: 0px;
              padding: 0px; border-width: 0px; vertical-align: baseline;
              text-transform: none; font-size: 0.923em;">Create new
              revision</label></div>
          <div class="form-item form-type-checkbox
            form-item-node-options-widglet" style="margin: 0px; padding:
            5px 0px; border-width: 0px; vertical-align: baseline;"><input id="edit-node-options-widglet" name="node_options[widglet]" value="widglet" checked="checked" class="form-checkbox" style="margin:
              0px; padding: 0px; border-width: 0px; vertical-align:
              middle; font-family: 'Helvetica
              Neue',Helvetica,Arial,sans-serif;" type="checkbox"><span class="Apple-converted-space"> My option<br>
              <br>
            </span></div>
        </div>
      </span></span>The setting for My options shows up every time I
    edit the content type, but how do I access it when content is being
    created for that content type?
  </div>

</blockquote></div><br></body></html>