Skip to main content
Participating Frequently
December 19, 2011
Question

is there something wrong with this table row definition?

  • December 19, 2011
  • 2 replies
  • 816 views

I have am supporting a coldfusion app that manipulates several forms.  One one particular page, there is a form that consists of several tables.  The last 3 lines of the last table are

    <tr>

            <td height="35" align="right" valign="middle">Description:</td>

            <td align="left" valign="middle"><input name="tmpPurpose" class="RptStd" size="70" maxlength="100" value="" onblur="document.ExpnDtl.Purpose.value = this.value;" onchange="ChkName(<cfoutput>#Session.CCWarn#</cfoutput>)" /><input type="hidden" name="Purpose" value="" />

                         <a href="#" id="aDesc" onclick="ShowHelp('9')" style="border:none; display:inline; padding: 0px 0px 0px 0px"><img src="/images/Help_Icon.gif" height="14" width="13" border="0" /></a>

                        </td>

      </tr>

      <cfif IsDefined("form.ExpnsCntrb")>

          <tr id="CntrbErr">

               <td colspan="2" class="Error"><cfoutput>#form.ExpnsCntrb#</cfoutput></td>

          </tr>

      </cfif>

      <tr id="expnContrib">

              <td align="left" valign="middle" height="35" class="RptStd" colspan="2">Is expenditure a contribution to a candidate, officeholder, or political committee?    <input type="radio" name="rdoCntrb" value="Y" /> Yes    <input type="radio" name="rdoCntrb" value="N" /> No</td>

       </tr>

      <tr id="COHInfo">

          <td colspan="2" class="RptStd" align="left" valign="middle" height="35">

              <input type="checkbox" name="chkCand" id="chkCand" value="X" onclick="if (this.checked) document.ExpnDtl.btnCOH.disabled = false; else document.ExpnDtl.btnCOH.disabled = true;" />Direct expenditure to benefit a candidate or officeholder    

              <input type="button" name="btnCOH" value=" Enter C/OH Information " class="RptBtn" onclick="window.open('/Testing/Test_COHBenefit.cfm?Parent=' + document.ExpnDtl.ItemID.value + '&Type=EXPN&Form=' + document.ExpnDtl.ExpnCode.value, 'CandidateInfo', 'width=730px,height=475px,scrollbars,resizable,location')" disabled /> <a href="#" id="aDirExpn" onclick="ShowHelp('11')" style="border:none; display:inline; padding: 0px 0px 0px 0px"><img src="/images/Help_Icon.gif" height="14" width="13" border="0" /></a>

          </td>

     </tr>

     </table>

Now whne the form is displayed on my page, I always see the line of text Description and the line of text Direct expenditure to benefit a candidate or officholder (in bold above).  But I never see the line of text  Is expenditure a contribution to a candidate... (in italics above).   It seems so simple but I can't figure out why that line does not display!!  Is there something wrong with that tr/td definition?

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    December 20, 2011

    Nothing from this row is visible, including the radio buttons.

    12Robots
    Participating Frequently
    December 20, 2011

    Have you tried removing the ID?  Just to see if some CSS might be using that ID with a display:none or visibility:none statement?

    Inspiring
    December 20, 2011

    Are the radio buttons visible?