Forums

Emailed results display field NAMES, not DATA

dcarrollhh 07 Jan, 2009
My form SEEMS to be working properly, except that the emailed results I receive are displaying the field NAMES, not the DATA that the user inputs.
<p><font size="4" color="#000099">Subscribe to the newsletter:</font></p>

<p align="left">If you’d like to receive <strong><i>The MEDITECH Community Bulletin</i></strong> FREE OF CHARGE, simply complete the following information and submit your request.  <u>ALL FIELDS ARE REQUIRED.</u></p>

<p>If you no longer wish to receive The MEDITECH Community Bulletin, simply <a href="mailto:unsubscribe@carrollsearch.com?subject=Unsubscribe%20--%20The%20MEDITECH%20Community%20Bulletin&body=Please%20remove%20me%20from%20the%20MEDITECH%20Community%20Bulletin%20mailing%20list.%20%20I%20am%20subscribed%20with%20the%20following%20email%20address.">click
here</a> to unsubscribe.  Please include your full name and email address in the message and we will promptly remove you from our newsletter mailing list.</p>

<p align="left"><u><font color="Red">All information will be kept confidential.  We respect your right to privacy and promise not to share your information with anyone!</font></u></p>


<DIV class=form_item>
<DIV class="form_element cf_textbox"><LABEL class=cf_label>First Name:</LABEL><INPUT class="cf_inputbox required" id=text_7 maxLength=150 size=30 name=text_7></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_textbox"><LABEL class=cf_label>Last Name:</LABEL><INPUT class="cf_inputbox required" id=text_6 maxLength=150 size=30 name=text_6></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_textbox"><LABEL class=cf_label>Email Address:</LABEL><INPUT class="cf_inputbox required validate-email" id=text_5 maxLength=150 size=30 name=text_5></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_textbox"><LABEL class=cf_label>Daytime Phone:</LABEL><INPUT class="cf_inputbox required" id=text_4 maxLength=150 size=30 name=text_4></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_textbox"><LABEL class=cf_label>Position / Title:</LABEL><INPUT class="cf_inputbox required" id=text_1 maxLength=150 size=30 name=text_1></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_textbox"><LABEL class=cf_label>Employer Name:</LABEL><INPUT class="cf_inputbox required" id=text_11 maxLength=150 size=30 name=text_11></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_dropdown"><LABEL class=cf_label>Employer Type</LABEL><SELECT class="cf_inputbox validate-selection" id=select_13 size=1 name=select_13>OPTION value=' '>Choose one...</OPTION><<OPTION value=Hospital selected>Hospital</OPTION><OPTION value=Vendor>Vendor</OPTION><OPTION value=Consultant>Consultant</OPTION></SELECT></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_radiobutton"><LABEL class=cf_label>Hospitals . . .  MEDITECH Platform:</LABEL>
<DIV class=float_left><INPUT class="radio validate-one-required" id=Client_Server0 type=radio value="Client Server" name=radio0><LABEL class=radio_label for=Client_Server0>Client Server</LABEL><BR><INPUT class=radio id=FOCUS0 type=radio value=FOCUS name=radio0><LABEL class=radio_label for=FOCUS0>FOCUS</LABEL><BR><INPUT class=radio id=HCA0 type=radio value=HCA name=radio0><LABEL class=radio_label for=HCA0>HCA</LABEL><BR><INPUT class=radio id=MAGIC0 type=radio value=MAGIC name=radio0><LABEL class=radio_label for=MAGIC0>MAGIC</LABEL><BR></DIV><A class=tooltiplink onclick="return false;"><IMG class=tooltipimg height=16 src="http://new.meditechbulletin.com/administrator/components/com_chronocontact/css/images/tooltip.png" width=16 border=0></A>
<DIV class=tooltipdiv>Hospitals . . .  MEDITECH Platform: :: For hospitals to complete</DIV></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_textbox"><LABEL class=cf_label>Vendors . . . Products / Services:</LABEL><INPUT class="cf_inputbox required" id=text_10 maxLength=150 size=30 name=text_10><A class=tooltiplink onclick="return false;"><IMG class=tooltipimg height=16 src="http://new.meditechbulletin.com/administrator/components/com_chronocontact/css/images/tooltip.png" width=16 border=0></A>
<DIV class=tooltipdiv>Vendors . . . Products / Services: :: For vendors to complete</DIV></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_textbox"><LABEL class=cf_label>Consultants . . . Your Specialty:</LABEL><INPUT class="cf_inputbox required" id=text_2 maxLength=150 size=30 name=text_2><A class=tooltiplink onclick="return false;"><IMG class=tooltipimg height=16 src="http://new.meditechbulletin.com/administrator/components/com_chronocontact/css/images/tooltip.png" width=16 border=0></A>
<DIV class=tooltipdiv>Consultants . . . Your Specialty: :: For consultants to complete</DIV></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_captcha"><LABEL class=cf_label>Please type the image shown:</LABEL><SPAN>{imageverification}</SPAN></DIV>
<DIV class=clear> </DIV></DIV>
<DIV class=form_item>
<DIV class="form_element cf_button"><INPUT type=submit value=Submit><INPUT type=reset value=Reset></DIV>
<DIV class=clear> </DIV></DIV>


{ToEmailAddress} {TypeOfForm} {variableOrder}

First Name: {FirstName}  
Last Name: {LastName}  
Email Address: {EmailAddress}  
Daytime Phone: {DaytimePhone}  
Position / Title: {PositionTitle}  
Employer Name: {EmployerName}  
Employer Type:
 {EmployerType} 
Hospitals ... MEDITECH Platform:
 {Platform} 
Vendors ... Products / Services: {ProductsServices} 
Consultants ... What is your specialty?: {Specialty} 

Any insight on what is going wrong or where to look would be greatly appreciated! Thanks!
GreyHead 07 Jan, 2009
Hi dcarrollhh,

The 'field names' have to be the same between the form HTML and the Email Template. For example you have
<LABEL class=cf_label>First Name:</LABEL>
<INPUT class="cf_inputbox required" id=text_7 maxLength=150 size=30 name=text_7>

where the field name is 'text_7' (the label is irrelevant for this purpose).

So in the template you need
First Name: {text_7}  

Bob
dcarrollhh 07 Jan, 2009
Thanks, Bob. I'll make the corrections and see if that does the trick.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger