• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 158
  • Last Modified:

Form Filed not being emailed through CFMail

I have a form that uses CFMAIL to email the data to us.  All fields are coming through except 2 and I can't figure it out. I have 50 other fields coming from the form that work fine.

Here are the two fields from the form and then the code from the CFMAIL page.

<input name="LivedInYearbio2" type="text" id="LivedInYear2">
 <input name="ExperienceBio3" type="text" id="ExperienceBio3" size="5">


CFMAIL part asking for form names.

#Form.LivedInYearbio2#
#Form.ExperienceBio3#
0
katlees
Asked:
katlees
  • 2
1 Solution
 
section25Commented:
Can you post the whole pages if they are not too long? I can't tell what is going on just from the piece you posted. You don't have to show all 50 fields, just the main parts of the page.

Thanks
0
 
katleesAuthor Commented:
Here is the form page..I cut out most of it. Left in the biography choices. The first field is in bio2 and the 2nd is in bio3

<form name="form" action="geregistrationsendmail1.cfm" method="post" onSubmit="return checkSubmit()">
                             <!--- Setup Form Action Variables - Location of page to be displayed after user submits the form --->
                      <input type=hidden value=confirm.htm name=redirect>
                      <!--- Setup Form Action Variables - Email Addresss that the form will be Emailed to: --->
                      <input type=hidden value=georder@ltcconnection.com name=send_to>
                      <!--- Setup Form Action Variables - Subject Line in the Email Message --->
                      <input type=hidden value="Genworth LTC Agent Website Registration Form" name=subject>
                      <!--- Setup Form Action Variables - Location of Cold Fusion Script to process form Data --->
                      <font face="Arial, Helvetica, sans-serif" size="2"><strong><font color="#FF0000">ALL
                      ITEMS ARE REQUIRED</font></strong> </font> </td>
                  </tr>
 <td colspan="8" bgcolor="000999"> <div align="center"><font color="#FFFFFF" size="3" face="Arial, Helvetica, sans-serif"><b>Biography
                              and Information </b></font></div></td>
                        </tr>
                        <tr>
                          <td colspan="8">&nbsp;</td>
                        </tr>
                        <tr>
                          <td colspan="8"><font face="Arial, Helvetica, sans-serif" size="2">Please
                            select which biography you would like for your website.
                            <strong>Click on the option to read the approved biography.
                            </strong>All highlighted items need a response from
                            you to complete the biography. After each biography,
                            are spaces to fill in the items needed.<strong>Please
                            understand that if any answer is not provided, that
                            sentence of your Agent Bio will be omitted.</strong>
                            <br>
                            </font></td>
                        </tr>
                        <tr>
                          <td colspan="8"><p><font size="2" face="Arial, Helvetica, sans-serif">
                              <input type="radio" name="bioOption" value="Option 1" onClick="ShowBlock('LST1')">
                              <strong><font color="#0000CC" size="3">Option 1</font></strong></font>
                           
                            <div id="LST1" class="EVNTcls">
                              <p><font size="2" face="Arial, Helvetica, sans-serif">AGENT
                                NAME</b> specializes in long term care insurance
                                and represents General Electric Capital Assurance
                                Company or <b class="color2light"> in New York,
                                GE Capital Life Assurance Company of York</b>
                                in <b><span class="color1light">state Name(s</span>)
                                <span class="color2light">in CA, (California license
                                #_____)</span></b> . <b class="color1light">He/She</b>
                                provides education, advice, plan design and product
                                comparisons. </font></p>
                              <p><font face="Arial, Helvetica, sans-serif" size="2"><b class="color1light">AGENT
                                NAME</b> became committed to long term care insurance
                                when he/she saw how emotionally trying and expensive
                                long term care became during the illnesses of
                                <b class="color1light">his/her family member</b>.
                                <b class="color1light">He/She</b> watched as the
                                care had a significant impact on the family's
                                life savings and eventually put an enormous burden
                                on their children. <b class="color1light">He's/She's</b>
                                committed to helping people maintain their financial
                                independence and help protect their hard-earned
                                assets in the later years of their life. </font>
                              <table width="100%" border="0" cellpadding="0" bgcolor="#999999">
                                <tr>
                                  <td bgcolor="#CCCCCC"><font size="2" face="Arial, Helvetica, sans-serif">What
                                    states are you licensed in? </font></td>
                                  <td bgcolor="#CCCCCC"><input name="stateslicbio1" type="text" id="stateslicbio1"></td>
                                </tr>
                                <tr>
                                  <td width="59%" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">List
                                    your family member(s) that needed long term
                                    care </font></font></font><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"></font></font></td>
                                  <td width="41%" bgcolor="#CCCCCC"><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                    <input name="familymemberbio1" type="text" id="familymember">
                                    </font></font></font></td>
                                </tr>
                              </table>
                            </div>
                            <input type="radio" name="bioOption" value="Option 2" onClick="ShowBlock('LST2')" >
                            <font color="#0000CC" size="3" face="Arial, Helvetica, sans-serif"><strong>Option
                            2</strong></font><br> <div id="LST2" class="EVNTcls"><font size="2" face="Arial, Helvetica, sans-serif">
                             AGENT
                              NAME</b> specializes in long-term care insurance,
                              comparison and plan design customized to meet your
                              individual needs. <b class="color1light">He/She</b>
                              represents General Electric Capital Assurance Company
                              or in <b class="color2light">New York, GE Capital
                              Life Assurance Company of New York</b> as a <span class="color1light">Regional
                              Sales Manager/Long Term Care Insurance Representative/Specialist/Agent</span>
                              <span class="color2light">in CA, <b>(California
                              license #_____)</b></span> selling long term care
                              insurance plans to the people of <b class="color1light">State
                              Name(s). He/She</b> can assist you in designing
                              an appropriate and affordable plan for you and your
                              family. </font></p>
                            <p><font face="Arial, Helvetica, sans-serif" size="2">
                              <b class="color1light">AGENT NAME</b> has resided
                              in the City or Region Name area since Year. <b class="color1light">He/She</b>
                              is a graduate of <b class="color1light">College/University
                              Name</b> in <b class="color1light">Year of Graduation</b>
                              with a degree in <b><span class="color1light">Name
                              of Degree</span></b><span class="color1light">.</span>
                              <b class="color1light">He/She</b> has first hand
                              knowledge of the potentially significant impact
                              long term care can have on an individual or their
                              family. <b class="color1light">His/Her</b> practice
                              is limited exclusively to the issue of long term
                              care insurance. In a caring and supportive way he/she
                              provides advice to individuals looking to help protect
                              their hard-earned assets and maintain their financial
                              independence and dignity. <b class="color1light">AGENT
                              NAME</b> is also available to give <b class="color2light">public
                              seminars in CA, seminars/sales presentations</b>
                              and group talks on the issues involving long term
                              care in America.</font></p>

                            <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                              <tr>
                                <td width="60%"><font size="2" face="Arial, Helvetica, sans-serif">What
                                  is your approved title with Genworth?</font></td>
                                <td width="40%"><font face="Arial, Helvetica, sans-serif"><font size="2" face="Arial, Helvetica, sans-serif">
                                  <select name="ApprovedTitleBio2" size="1" id="ApprovedTitleBio2">
                                    <option value="NO Title Selected" selected>Choose
                                    One</option>
                                    <option value="Representative">Representative
                                    (Except CA, KS)</option>
                                    <option value="Agent">Agent (CA, KS only)</option>
                                    <option value="Specialist">Specialist (except
                                    CA, CT, KS, ND, TX)</option>
                                    <option value="Senior Specialist">Senior Specialist
                                    (except CA, CT, KS, ND, TX)</option>
                                    <option value="Master Specialist">Master Specialist
                                    (except CA, CT, KS, ND, TX)</option>
                                    <option value="LTCi Senior Specialist Emeritus">Senior
                                    Specialist Emeritus (except CA, CT, KS, ND,
                                    TX)</option>
                                    <option value="LTCi Master Specialist Emeritus">Master
                                    Specialist Emeritus (except CA, CT, KS, ND,
                                    TX)</option>
                                    <option value="LTCi Master Elite Emeritus">Master
                                    Elite Emeritus (except CA, CT, KS, ND, TX)</option>
                                    <option value="LTCi Master Elite">Master Elite
                                    (except CA, CT, KS, ND, TX)</option>
                                    <option value="Regional Sales Manager">Regional
                                    Sales Manager</option>
                                    <option value="District Manager">District
                                    Manager</option>
                                  </select>
                                  </font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  states are you licensed in?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font size="2" face="Arial, Helvetica, sans-serif">
                                  <input name="biostatesbio2" type="text" id="biostates">
                                  </font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  area have you lived in?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="arealivedinbio2" type="text" id="arealivedinbio2">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">Since
                                  what year have you lived in this area?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="LivedInYearbio2" type="text" id="LivedInYear2">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  college/university did you graduate from?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="collegebio2" type="text" id="college">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  year did you graduate from this college/university?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="YrOfGradbio2" type="text" id="YrOfGrad">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  degree did you get from this college/university?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="degreebio2" type="text" id="degree">
                                  </font></font></font></td>
                              </tr>
                            </table>



                             
                            </div>
                            <font size="2" face="Arial, Helvetica, sans-serif">
                            <input type="radio" name="bioOption" value="Option 3" onClick="ShowBlock('LST3')">
                            <strong><font color="#0000CC" size="3">Option 3</font></strong><br>
                            </font> <div id="LST3" class="EVNTcls"><font size="2" face="Arial, Helvetica, sans-serif">
                              AGENT
                              NAME</b> is a licensed Long Term Care Insurance
                              <b class="color2light">Representative/Specialist/Agent</b>
                              representing General Electric Capital Assurance
                              Company or<b class="color2light"> in New York, GE
                              Capital Life Assurance Company of New York in CA,
                              (California license #_____)</b> selling long term
                              care insurance in <b><span class="color1light">State
                              Name(s)</span></b><span class="color1light">. <b>He/She</b></span>
                              has <b># <span class="color1light">years</span></b><span class="color1light">
                              </span>of industry experience and understands the
                              potentially significant impact that long term care
                              can have on a family. </font></p>
                            <p><font face="Arial, Helvetica, sans-serif" size="2">Throughout
                              <b class="color1light">his/her</b> career, Agent
                              Name has maintained active involvement in a number
                              of organizations. <b class="color1light">He/She</b>
                              is a member of <b><span class="color1light">Name
                              Organizations such as: Chamber of Commerce, Local
                              Alzheimer Association, Church Groups, Athletic Organizations,
                              etc.</span></b><span class="color1light">. </span></font></p>
                            <p><font face="Arial, Helvetica, sans-serif" size="2"><b class="color1light">AGENT
                              NAME</b> graduated from <b class="color1light">College/University
                              Name</b> in <b class="color1light">Year of Graduation</b>
                              with a degree in <b><span class="color1light">Name
                              of Degree</span>. </b><b class="color1light">He/She</b>
                              has been an invited speaker at national and regional
                              professional conferences concerning the issues of
                              long term care. In addition, <b class="color1light">He/She</b>
                              regularly conducts seminars <b class="color2light">in
                              CA, seminars/sales presentations</b> that provide
                              consumers with the knowledge required to effectively
                              plan for long term care. </font></p>
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  is your approved title with Genworth?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font size="2" face="Arial, Helvetica, sans-serif">
                                  <select name="ApprovedtitleBio3" size="1" id="ApprovedtitleBio3">
                                      <option value="No Title Selected" selected>Choose
                                      One</option>
                                      <option value="Representative">Representative
                                      (Except CA, KS)</option>
                                      <option value="Agent">Agent (CA, KS only)</option>
                                      <option value="Specialist">Specialist (except
                                      CA, CT, KS, ND, TX)</option>
                                      <option value="Senior Specialist">Senior
                                      Specialist (except CA, CT, KS, ND, TX)</option>
                                      <option value="Master Specialist">Master
                                      Specialist (except CA, CT, KS, ND, TX)</option>
                                      <option value="LTCi Senior Specialist Emeritus">Senior
                                      Specialist Emeritus (except CA, CT, KS,
                                      ND, TX)</option>
                                      <option value="LTCi Master Specialist Emeritus">Master
                                      Specialist Emeritus (except CA, CT, KS,
                                      ND, TX)</option>
                                      <option value="LTCi Master Elite Emeritus">Master
                                      Elite Emeritus (except CA, CT, KS, ND, TX)</option>
                                      <option value="LTCi Master Elite">Master
                                      Elite (except CA, CT, KS, ND, TX)</option>
                                      <option value="Regional Sales Manager">Regional
                                      Sales Manager</option>
                                      <option value="District Manager">District
                                      Manager</option>
                                    </select>
                                  </font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  states are you licensed in?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="biostatesbio3" type="text" id="biostates3">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">How
                                  many years industry experience do you have?
                                  </font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="ExperienceBio3" type="text" id="ExperienceBio3" size="5">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><p><font size="2" face="Arial, Helvetica, sans-serif">What
                                    organizations do you belong to?</font><br>
                                    <font size="2" face="Arial, Helvetica, sans-serif">(Please
                                    list them how you want them to appear in your
                                    biography. Do not use abbreviations)</font></p>
                                  </td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="Organizationsbio3" type="text" id="Organizations" size="60">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  college/university did you graduate from?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="collegebio3" type="text" id="college">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  year did you graduate from this college/university?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="YrOfGradbio3" type="text" id="YrOfGrad">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  degree did you get from this college/university?</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="degreebio3" type="text" id="degree">
                                  </font></font></font></td>
                              </tr>
                            </table>
                           



                            </div>
                            <font size="2" face="Arial, Helvetica, sans-serif">
                            <input type="radio" name="bioOption" value="Option 4" onClick="ShowBlock('LST4')">
                            <strong><font color="#0000CC" size="3">Option 4</font></strong></font><br> <div id="LST4" class="EVNTcls"><font face="Arial, Helvetica, sans-serif">
                             AGENT
                              NAME</b> is a licensed health and life insurance
                              agent and has been assisting families throughout
                              <b class="color1light">State Name(s)</b> protect
                              themselves from the potential financial and emotional
                              impact of long term care. </font></p>
                            <p><font face="Arial, Helvetica, sans-serif" size="2"><b class="color1light">His/Her</b>
                              awareness of long term care came after he/she experienced
                              first hand the financial and emotional impact that
                              many families live through during the illnesses
                              of his/her family member. In need for continual
                              care <b class="color1light">his/her</b> family member
                              was placed in a nursing home. </font></p>
                            <p><font face="Arial, Helvetica, sans-serif" size="2"><b class="color1light">AGENT
                              NAME</b> now specializes in long term care insurance.
                              <b class="color1light">AGENT NAME</b> is an active
                              member of <b class="color1light">Name Organizations
                              such as: Chamber of Commerce, Local Alzheimer Association,
                              Church Groups, Athletic Organizations, etc.</b>.
                              <b class="color1light">AGENT NAME</b> also participates
                              in community events and fund raising for the Alzheimer's
                              Foundation. </font></p>
                            <p><font face="Arial, Helvetica, sans-serif" size="2"><b class="color1light">AGENT
                              NAME</b> is licensed and appointed to sell General
                              Electric Capital Assurance Company's or <b class="color2light">in
                              New York, GE Capital Life Assurance Company of New
                              York's</b> long term care insurance in <b><span class="color1light">State
                              Name(s)</span> <span class="color2light">in CA,
                              (California license #_____)</span>. </b></font></p>
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                              <tr>
                                <td width="51%"><font size="2" face="Arial, Helvetica, sans-serif">What
                                  states are you licensed in?</font></td>
                                <td width="49%"><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="biostatesbio4" type="text" id="biostates4">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">List
                                  the family member(s) that needed Long Term Care.</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="familymemberbio4" type="text" id="familymember3">
                                  </font></font></font></td>
                              </tr>
                              <tr>
                                <td><font size="2" face="Arial, Helvetica, sans-serif">What
                                  organizations do you belong to?<br>
                                  (Please list them how you want them to appear
                                  in your biography. Do not use abbreviations)</font></td>
                                <td><font face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif"><font size="2">
                                  <input name="Organizations2" type="text" id="Organizations4" size="60">
                                  </font></font></font></td>
                              </tr>
                            </table>

                          <td colspan="8" bgcolor="000999"> <div align="center">
                              <input type="submit" name="Submit" value="Submit" >
                              <input type="reset" name="Reset" value="Reset">
                            </div></td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td height="19" colspan="2"> <div align="center"></div></td>
                  </tr>
                </table>
              </div></td>
          </tr>
        </table></form>





Here is the CF page



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
      <title>CF Sendmail Function</title>
</head>

<body>
<cfmail
      server="mail.LtcConnection.net"
      from="#form.Email_Address#"
      to="#form.send_to#"
      subject="#form.subject#"
      type="html"
>
                                    <td colspan="2" height="63"><font face="Arial, Helvetica, sans-serif" size="2"><br>
                  Domain First Choice: #Form.DomainChoice1#<br>
                  Domain Second Choice: #Form.DomainChoice2#<br>
                  Domain Name: #Form.Domain#<br>
                  </font></td>
              </tr>
              <tr>
                  <td colspan="2" height="80"> <p><font face="Arial, Helvetica, sans-serif" size="2">Bio
                      Option: #Form.BioOption#<br>
                      Personal Data:<br>
                      #Form.stateslicbio1# &nbsp;&nbsp;#Form.familymemberbio1#<br>
                      #Form.approvedtitlebio2#&nbsp;&nbsp; #Form.biostatesbio2# &nbsp;&nbsp;#Form.arealivedinbio2#&nbsp;&nbsp;&nbsp; #Form.LivedInYearbio2# &nbsp;&nbsp;&nbsp;#Form.collegebio2#&nbsp;&nbsp;&nbsp; #Form.YrOfGradbio2#&nbsp;&nbsp;&nbsp; #Form.degreebio2#<br>
                      #Form.approvedtitlebio3#&nbsp;&nbsp; #form.biostatesbio3#&nbsp;&nbsp;&nbsp; #Form.ExperienceBio3# #Form.organizationsbio3#&nbsp;&nbsp; #Form.collegebio3#&nbsp;&nbsp;&nbsp;#Form.YrOfGradbio3# &nbsp;&nbsp;#Form.degreebio3#<br>
                      #Form.biostatesbio4# &nbsp;&nbsp;#Form.familymemberbio4# &nbsp;&nbsp;#Form.organizations4#<br>
                      #Form.collegebio5# &nbsp;&nbsp;&nbsp;#Form.YrofGradbio5# &nbsp;&nbsp;#Form.degreebio5# &nbsp;&nbsp;#Form.spousebio5# &nbsp;&nbsp;#Form.childrenbio5# &nbsp;&nbsp;#Form.citystatebio5# <br>
                                      



                        </CFMAIL>

<cflocation url="#form.redirect#" addtoken="No">


</body>
</html>










0
 
section25Commented:
Thanks for posting your pages. From what I can see everything seems to look fine. Sorry I can't help you more.
0
 
Dain_AndersonCommented:
Your code looks correct as far as I can tell; however, the ID="" values you have there, are any of those "hidden" for view using CSS? Some browsers won't submit form fields that are within hidden DIVs. Other than that, the only obvious thing I can think of is that the user didn't fill in those fields (are you getting a CF error saying they don't exist? If not, then they likely didn't enter the data).

HTH,

-Dain
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now