Element (.....) is undefined in FORM

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default Element (.....) is undefined in FORM

    I am getting this error message after I submit a form (parts request):Error
    Occurred While Processing Request Element LIPSEALS4044 is undefined in FORM.
    The error occurred in
    C:\Inetpub\tahoepremierdesign\qdusa\mpmsrequest2.c fm: line 318 316 :
    </CFIF><CFIF #trim(LipSeals4044_025)# IS NOT ''>Part Number: 4044-025 317 :
    Part: Lip Seals (set of 2 with instructions) 318 : Quantity:
    #FORM.LipSeals4044-025# 319 : </CFIF> 320 : </CFIF> Here's the CF page code:


    <CFIF #Trim(FORM.fax)# IS "" AND #Trim(FORM.sendvia)# IS "fax">You must
    indicate your <b>fax number</B> when requesting a quote via fax. Please click
    your browser's <b>Back</b> button and try again.<CFABORT></CFIF>

    <CFIF #Trim(FORM.fax)# IS "" AND #Trim(FORM.sendvia)# IS "emailfax">You must
    indicate your <b>fax number</B> when requesting a quote via both fax and
    e-mail. Please click your browser's <b>Back</b> button and try
    again.<CFABORT></CFIF>

    <html>
    <head>
    <title>Quantum Design - Sales &amp; Service</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="description" content="Quantum Design manufactures integrated,
    automated systems for characterizing materials over a broad range of
    temperatures and applied magnetic fields.">
    <meta name="keywords" content="physics, MPMS, magnetic property measurement
    system, PPMS, physical property measurement system, SQUID, SQUIDs,
    superconducting quantum interface design, cryogenics, helium three, ultra low
    field, heat capacity, magnetic, magnetics, magnetic assay reader, dewar,
    dewars, magnetometry, sample rods, rotator, rotators, electronics, puck,
    specific heat, multi-function probe, resistivity, transport, magnetom,
    susceptomet, superconduct, VSM, hall effect, thermoelectric, magnetization,
    automation, instrumentation, characterization, calorimet, torque, GMR, CMR,
    magneto resistance, van der pauw, thermal conductivity, sample, easy to use,
    chemistry, gel caps">
    </head>

    <body LEFTMARGIN="0" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0"
    bgcolor="#FFFFFF" background="img/mainsubback.gif" text="#003366"
    link="#990000" vlink="#999999" alink="#999999">
    <table border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td colspan="7"><img src="img/spacer.gif" width="648" height="11"></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><img src="img/spacer.gif" width="50" height="27"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td rowspan="5" width="100%">&nbsp;</td>
    <td rowspan="5" valign="top"><img src="img/mpmsparts_11.gif" width="151"
    height="119"></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td colspan="3"><img src="img/salesandservice.gif" width="188"
    height="48"></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="2"><img src="img/spacer.gif" width="449" height="30"></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="2"><img src="img/mpmsquote_27.gif" width="240"
    height="31"></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><img src="img/spacer.gif" width="30" height="30"></td>
    <td><img src="img/spacer.gif" width="389" height="1"></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <cfoutput>
    <td colspan="3" width="100%"><font face="Arial, Helvetica, sans-serif"
    size="2">Dear #name#,
    <p>Thank you for sending us your request for a quotation. We will send you the
    pricing information via <CFIF #trim(sendvia)# IS "email">e-mail</CFIF><CFIF
    #trim(sendvia)# IS "fax">FAX</CFIF><CFIF #trim(sendvia)# IS "emailfax">both
    e-mail and FAX</CFIF>, using the following information:
    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;<b><CFIF
    #trim(sendvia)# IS "email">E-mail: #email#</CFIF><CFIF #trim(sendvia)# IS
    "fax">FAX: #fax#</CFIF><CFIF #trim(sendvia)# IS "emailfax">E-mail: #email#<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;FAX:
    #fax#</CFIF></b></font></td></cfoutput>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="3" width="100%">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="3" width="100%"><font face="Arial, Helvetica, sans-serif"
    size="2">If any of this information is incorrect, please go back to the
    feedback form and change it. We thank you for using our user website.
    <p><img src="img/spacer.gif" width="200" height="1">Sincerely,
    <p><img src="img/spacer.gif" width="200" height="1"><I>Quantum
    Design</I></font></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="3" width="100%">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="3" width="100%"><img src="img/redpixel.gif" width="100%"
    height="1"></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="3" width="100%">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="3" width="100%"><font face="Arial, Helvetica, sans-serif"
    size="2"><b>You may return to the feedback form by using the <I>Back</I> button
    in your browser.</b></font></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="3" width="100%">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="3" width="100%">&nbsp;
    </td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td><img src="img/spacer.gif" width="19" height="27"></td>
    <td><img src="img/spacer.gif" width="50" height="27"></td>
    <td><img src="img/spacer.gif" width="30" height="30"></td>
    <td><img src="img/spacer.gif" width="389" height="1"></td>
    <td width="100%"><img src="img/spacer.gif" width="20" height="1"></td>
    <td><img src="img/spacer.gif" width="151" height="1"></td>
    <td><img src="img/spacer.gif" width="35" height="1"></td>
    </tr>
    </table>
    <table width="544" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="155"><img src="img/spacer.gif" width="99" height="7"></td>
    <td width="445"><img src="img/spacer.gif" width="445" height="7"></td>
    </tr>
    <tr>
    <td width="99">&nbsp;</td>
    <td width="445"><font face="Arial, Helvetica, sans-serif"
    size="2"><b>WORLD
    HEADQUARTERS:</b></font></td>
    </tr>
    <tr>
    <td width="99">&nbsp;</td>
    <td width="445">
    <table width="445" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="131"><font face="Arial, Helvetica, sans-serif"
    size="2"><b>6325
    Lusk Boulevard</b></font></td>
    <td width="20">
    <div align="center"><img src="img/redpixel.gif" width="2"
    height="2"></div>
    </td>
    <td width="288"><font face="Arial, Helvetica, sans-serif"
    size="2"><b>San
    Diego, CA 92121-3733, USA</b></font></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td width="99"><img src="img/spacer.gif" width="99" height="1"></td>
    <td width="445">
    <table width="445" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="113"><font face="Arial, Helvetica, sans-serif"
    size="2"><b>1.858.481.4400
    Tel</b></font></td>
    <td width="20">
    <div align="center"><img src="img/redpixel.gif" width="2"
    height="2"></div>
    </td>
    <td width="117"><font face="Arial, Helvetica, sans-serif"
    size="2"><b>1.858.481.7410
    Fax</b></font></td>
    <td width="20">
    <div align="center"><img src="img/redpixel.gif" width="2"
    height="2"></div>
    </td>
    <td width="170"><font face="Arial, Helvetica, sans-serif"
    size="2"><b><a href="mailto:info@qdusa.com">Info@qdusa.com</a></b></font></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td width="99"><img src="img/spacer.gif" width="99" height="14"></td>
    <td width="445"><img src="img/spacer.gif" width="445" height="14"></td>
    </tr>
    <tr>
    <td width="99">&nbsp;</td>
    <td width="445">
    <p><font color="#990000" size="1" face="Arial, Helvetica,
    sans-serif"><b><i>COPYRIGHT &copy; 2000, QUANTUM DESIGN, ALL RIGHTS
    RESERVED.</i></b></font></p>
    </td>
    </tr>
    <tr>
    <td width="99">&nbsp;</td>
    <td width="445">&nbsp;</td>
    </tr>
    </table>
    </body>
    </html>

    <cfmail from="webmaster@tahoepremierdesign.com"
    to="sales@qdusa.com"
    server="mail.tahoepremierdesign.com"
    subject="MPMS Parts RFQ">

    The following MPMS system accessories quotation request was received from the
    Quantum Design Website:

    Send quote via: <CFIF #trim(sendvia)# IS "email">E-mail</CFIF><CFIF
    #trim(sendvia)# IS "fax">FAX</CFIF><CFIF #trim(sendvia)# IS "emailfax">Both
    E-mail and FAX</CFIF>

    <CFIF #trim(SlideSeal4044_001)# IS NOT "" OR #trim(SlideSeal4044_002)# IS NOT
    "" OR #trim(Rod4044_003)# IS NOT "" OR #trim(Clip4044_004)# IS NOT "" OR
    #trim(ShroudTube4044_008)# IS NOT "">Step Scan sample mounts:

    <CFIF #trim(SlideSeal4044_001)# IS NOT "">Part Number: 4044-001
    Part: Sample Support Assembly
    Quantity: #FORM.SlideSeal4044_001#

    </CFIF><CFIF #trim(SlideSeal4044_002)# IS NOT "">Part Number: 4044-002
    Part: Slide Seal Assembly
    Quantity: #FORM.SlideSeal4044_002#

    </CFIF><CFIF #trim(Rod4044_003)# IS NOT "">Part Number: 4044-003
    Part: Sample Rod Assembly
    Quantity: #FORM.Rod4044_003#

    </CFIF><CFIF #trim(Clip4044_004)# IS NOT "">Part Number: 4044-004
    Part: Clip Assembly
    Quantity: #FORM.Clip4044_004#

    </CFIF><CFIF #trim(ShroudTube4044_
    Jamie Lemaire Guest

  2. Similar Questions and Discussions

    1. Element is undefined
      I get the message Form Element TXTSEARCH is undefined with this code: <cfset Session.Description = #Form.txtSearch#> I have a textbox called...
    2. Element DS is undefined in APPLICATION.
      Hi Everyone - Finally got to the upload stage. uploaded to my host - mx7 ok. www.healthhokkaido.com I get this Element DS is undefined in...
    3. cfform - Element is undefined in FORM
      This is sooo frustrating and weird. I have a form that keeps triggering Element XXX is undefined in FORM. But, if I view the html source, it shows...
    4. Undefined element in form - Please Help
      I keep on getting a message displayed stating that I have an undefined element in a form - I have checked and everything looks OK - did a <cfdump>...
    5. Undefined element in form
      I keep on getting a message - Element STARTTIME_HOUR is undefined in FORM ??? I have checked everything that I can think of and can see...
  3. #2

    Default Re: Element (.....) is undefined in FORM

    Nevermind! I caught the problem (I used a dash in the product number instead of an underscore... for crying out loud!)
    Jamie Lemaire Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139