<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <br>
    I've used the editable fields module, and it worked fairly well. It
    was a while ago, so I don't remember what problems I ran into, just
    that I was able to make it work.<br>
    <br>
    Ted<br>
    <br>
    On 3/3/2011 8:10 AM, Joel Willers wrote:
    <blockquote
cite="mid:36B2D50F2A79114BBB96362C55C973FD01FDA889@mail.siglercompanies.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);">Thanks for the suggestions.  I am planning to
            start this today.  Deep down I was hoping someone would know
            of a module that used tokens to control behavior of the CCK
            form fields.  <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);">Also, has anyone ever used the module ‘editable
            fields’ using views to show all contents for
            accounting/inventory?  Seems powerful to be able to edit all
            of dozens of nodes/fields at a time, but is the submission
            interface useful?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);">Thanks again for all of the suggestions and
            help.  I’m fairly new to Drupal, and am really loving it. 
            I’m looking forward to DrupalCon, as well.  Hope to see some
            you there!<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);">Joel<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size: 11pt; font-family:
            &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31,
            73, 125);"><o:p> </o:p></span></p>
        <div style="border-right: medium none; border-width: 1pt medium
          medium; border-style: solid none none; border-color: rgb(181,
          196, 223) -moz-use-text-color -moz-use-text-color; padding:
          3pt 0in 0in;">
          <p class="MsoNormal"><b><span style="font-size: 10pt;
                font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">From:</span></b><span
              style="font-size: 10pt; font-family:
              &quot;Tahoma&quot;,&quot;sans-serif&quot;;">
              <a class="moz-txt-link-abbreviated" href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a>
              [<a class="moz-txt-link-freetext" href="mailto:support-bounces@drupal.org">mailto:support-bounces@drupal.org</a>] <b>On Behalf Of </b>Carl
              Wiedemann<br>
              <b>Sent:</b> Wednesday, March 02, 2011 5:46 PM<br>
              <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:support@drupal.org">support@drupal.org</a><br>
              <b>Subject:</b> Re: [support] Javascript and CCK fields<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <blockquote style="border-width: medium medium medium 1pt;
          border-style: none none none solid; border-color:
          -moz-use-text-color -moz-use-text-color -moz-use-text-color
          rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin-left:
          4.8pt; margin-right: 0in;">
          <p class="MsoNormal">If you don't care that it's on every
            page, couldn't you just add it to<br>
            the .info file of the theme?<o:p></o:p></p>
        </blockquote>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal">You could, but then the JS is dependent
            on the theme. Switching the theme or usage of an admin theme
            could affect the functionality.<o:p></o:p></p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">On Wed, Mar 2, 2011 at 2:48 PM, Anthony
            Malkoun &lt;<a moz-do-not-send="true"
              href="mailto:malkouna@yahoo.com.au">malkouna@yahoo.com.au</a>&gt;
            wrote:<o:p></o:p></p>
          <p class="MsoNormal">If you don't care that it's on every
            page, couldn't you just add it to<br>
            the .info file of the theme?<o:p></o:p></p>
          <div>
            <p class="MsoNormal"><br>
              On 6:59 AM, Carl Wiedemann wrote:<br>
              &gt; If you don't care that the JS is added on every page,
              you might as<br>
              &gt; well put it in hook_init. Otherwise if you want to
              use the same JS on<br>
              &gt; multiple forms you would need multiple #after_build
              or #theme<br>
              &gt; callbacks, which is repetitive and a little messy.
              Write your JS so<br>
              &gt; that if indicative elements aren't present in the DOM
              it returns early.<br>
              &gt;<br>
              &gt; On Wed, Mar 2, 2011 at 6:53 AM, Joel Willers &lt;<a
                moz-do-not-send="true"
                href="mailto:joel.willers@sigler.com">joel.willers@sigler.com</a><o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">&gt; &lt;mailto:<a
                moz-do-not-send="true"
                href="mailto:joel.willers@sigler.com">joel.willers@sigler.com</a>&gt;&gt;
              wrote:<br>
              &gt;<br>
              &gt;     I’m looking to do calculations between CCK
              fields.  I’ve found<br>
              &gt;     some cool ways to add Javascript to a page, but
              before I get too<br>
              &gt;     far into this, I figured I’d ask for some quick
              advice to see if<br>
              &gt;     there was a better way.<br>
              &gt;<br>
              &gt;     Basically, I’m looking to do math on an
              ‘onchange’ event.  If<br>
              &gt;     Field A is set (base) and Field B is changed,
              Field C and D<br>
              &gt;     automatically update.  Similarly, if C changes, B
              and D update,<br>
              &gt;     and same for D changing B and C.  I’m planning to
              use the<br>
              &gt;     technique described at:<br>
              &gt;<br>
              &gt;     <a moz-do-not-send="true"
href="http://switchbackcms.com/blog/right-way-include-javascript-your-drupal-form"
                target="_blank">http://switchbackcms.com/blog/right-way-include-javascript-your-drupal-form</a>,<br>
              &gt;     but at <a moz-do-not-send="true"
                href="http://drupal.org/node/322290" target="_blank">http://drupal.org/node/322290</a>
              (#7) there is talk of adding<br>
              &gt;     a theme function, which I’m guessing I could do
              using a nice<br>
              &gt;     tpl.php file.<br>
              &gt;<br>
              &gt;     Any suggestions are welcome, especially if there
              is an already<br>
              &gt;     existing module for field relationships.<br>
              &gt;<br>
              &gt;     Joel<br>
              &gt;<br>
              &gt;     **<br>
              &gt;<br>
              &gt;<br>
              &gt;     --<br>
              &gt;     [ Drupal support list | <a
                moz-do-not-send="true" href="http://lists.drupal.org/"
                target="_blank">http://lists.drupal.org/</a> ]<br>
              &gt;<br>
              &gt;<o:p></o:p></p>
          </div>
          <p class="MsoNormal">--<o:p></o:p></p>
          <div>
            <div>
              <p class="MsoNormal">[ Drupal support list | <a
                  moz-do-not-send="true" href="http://lists.drupal.org/"
                  target="_blank">http://lists.drupal.org/</a> ]<o:p></o:p></p>
            </div>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>