Question

Coldfusion Form force required if checkbox checked

Asked by: Albee_J

My company currently has a subscription form located here:
http://www.fma-communications.com/Forms/Subscription-Express.cfm

We will be completely rebuilding this form in the future, however for now I need to find a way to force the print or digital radio buttons to be required if a publication is selected.  Pubications are being dumped into the db without any print type.

<!---ACTION PAGE--->
<cfparam name="FORM.NotReceiveName" default="">
<cfparam name="FORM.ReceiveName" default="FAB">
<cfparam name="FORM.Receivepub" default="1">
<cfparam name="FORM.DeliveryHome" default="0">
<cfparam name="FORM.DeliveryBusiness" default="0">
<cfparam name="FORM.PrintType" default="Print">
<cfparam name="FORM.Enewsletter_Fabcom" default="0">
<cfparam name="FORM.Enewsletter_TT" default="0">
<cfparam name="FORM.Enewsletter_WW" default="0">
<cfparam name="FORM.Enewsletter_SNB" default="0">
<cfparam name="FORM.Outsideusa" default="0">
<cfparam name="FORM.ReceiveVendorEmails" default="0">
<cfparam name="FORM.FaxLine" default="">
<cfparam name="FORM.PhoneLine" default="">
<cfparam name="FORM.PrintType" default="">
<cfparam name="FORM.FirstName" default="">
<cfparam name="FORM.LastName" default="">
<cfparam name="FORM.CompanyName" default="">
<cfparam name="FORM.CompanyAddress" default="">
<cfparam name="FORM.CompanyAddress2" default="">
<cfparam name="FORM.CompanyCity" default="">
<cfparam name="FORM.CompanyState" default="">
<cfparam name="FORM.CompanyZip" default="">
<cfparam name="FORM.CompanyCountry" default="">
<cfparam name="FORM.Email" default="">
<cfparam name="FORM.EndProduct" default="">
<cfparam name="FORM.PriorityCode" default="">
<cfparam name="FORM.InterestArea" default="">
<cfparam name="FORM.BuySpecifyApprove" default="">
<cfparam name="FORM.Buy" default="">
<cfparam name="FORM.Employees" default="">
<cfparam name="FORM.CompanyType" default="">
<cfparam name="FORM.BPA_City" default="">
<cfparam name="FORM.JobFunction" default="B">
<cfparam name="FORM.WeldBusiness" default="">
<cfparam name="FORM.PhoneAreaCode" default="">
<cfparam name="FORM.FaxAreaCode" default="">
<cfparam name="FORM.IntPhone" default="">
<cfparam name="FORM.IntFax" default="">
<cfparam name="IndivPhoneNumb" default="">
<cfparam name="IndivPhoneArea" default="">
<cfparam name="IndivFaxArea" default="">
<cfparam name="IndivFaxNumb" default="">
<cfparam name="FaxArea" default="">
<cfparam name="FaxNumb" default="">
<cfparam name="PhoneArea" default="">
<cfparam name="PhoneNumb" default="">
<cfparam name="FORM.Referer" default="">
 
 
<cfif FORM.Enewsletter_Fabcom EQ 1>
<cfset Enewsletter_Fabcom = "Y">
<cfelse>
<cfset Enewsletter_Fabcom = "N">
</cfif>
<cfif FORM.Enewsletter_TT EQ 1>
<cfset Enewsletter_TT = "Y">
<cfelse>
<cfset Enewsletter_TT = "N">
</cfif>
<cfif FORM.Enewsletter_WW EQ 1>
<cfset Enewsletter_WW = "Y">
<cfelse>
<cfset Enewsletter_WW = "N">
</cfif>
<cfif FORM.Enewsletter_SNB EQ 1>
<cfset Enewsletter_SNB = "Y">
<cfelse>
<cfset Enewsletter_SNB = "N">
</cfif>
<cfif FORM.ReceiveVendorEmails EQ 1>
<cfset ReceiveVendorEmails = "Y">
<cfelse>
<cfset ReceiveVendorEmails = "N">
</cfif>
 
 
<cfif FORM.PhoneLine EQ "Direct">
<!--- PHONE DIRECT is TRUE --->
<cfif FORM.PhoneAreaCode NEQ "">
<!--- Phone area code present --->
	<cfset IndivPhoneArea = FORM.PhoneAreaCode>
	<cfset IndivPhoneNumb = FORM.Phoneprefix&'-'&FORM.PhoneSuffix>
	<cfset PhoneArea = " ">
	<cfset PhoneNumb = " ">
<cfelse>
<!--- Phone area code not present --->
	<cfset IndivPhoneArea = " ">
	<cfif FORM.IntPhone NEQ "">
		<cfset IndivPhoneNumb = FORM.IntPhone>
	<cfelse>
		<cfset IndivPhoneNumb = " ">
	</cfif>
	<cfset PhoneArea = " ">
	<cfset PhoneNumb = " ">
</cfif>	
 
<cfelseif FORM.PhoneLine EQ "Company">
<!--- PHONE COMPANY is TRUE --->
<cfif FORM.PhoneAreaCode NEQ "">
<!--- Phone area code present --->
	<cfset IndivPhoneArea = " ">
	<cfset IndivPhoneNumb = " ">
	<cfset PhoneArea = FORM.PhoneAreaCode>
	<cfset PhoneNumb = FORM.Phoneprefix&'-'&FORM.PhoneSuffix>
<cfelse>
<!--- Phone area code not present --->
	<cfset IndivPhoneArea = " ">
	<cfset IndivPhoneNumb = " ">
	<cfset PhoneArea = " ">
	<cfif FORM.IntPhone NEQ "">
		<cfset PhoneNumb = FORM.IntPhone>
	<cfelse>
		<cfset PhoneNumb = " ">
	</cfif>
</cfif>	
</cfif>
 
<cfif FORM.FaxLine EQ "Direct">
<!--- Fax DIRECT is TRUE --->
<cfif FORM.FaxAreaCode NEQ "">
<!--- Fax area code present --->
	<cfset IndivFaxArea = FORM.FaxAreaCode>
	<cfset IndivFaxNumb = FORM.Faxprefix&'-'&FORM.FaxSuffix>
	<cfset FaxArea = " ">
	<cfset FaxNumb = " ">
<cfelse>
<!--- Fax area code not present --->
	<cfset IndivFaxArea = " ">
	<cfif FORM.IntFax NEQ "">
		<cfset IndivFaxNumb = FORM.IntFax>
	<cfelse>
		<cfset IndivFaxNumb = " ">
	</cfif>
	<cfset FaxArea = " ">
	<cfset FaxNumb = " ">
</cfif>	
 
<cfelseif FORM.FaxLine EQ "Company">
<!--- Fax COMPANY is TRUE --->
<cfif FORM.FaxAreaCode NEQ "">
<!--- Fax area code present --->
	<cfset IndivFaxArea = " ">
	<cfset IndivFaxNumb = " ">
	<cfset FaxArea = FORM.FaxAreaCode>
	<cfset FaxNumb = FORM.Faxprefix&'-'&FORM.FaxSuffix>
<cfelse>
<!--- Fax area code not present --->
	<cfset IndivFaxArea = " ">
	<cfset IndivFaxNumb = " ">
	<cfset FaxArea = " ">
	<cfif FORM.IntFax NEQ "">
		<cfset FaxNumb = FORM.IntFax>
	<cfelse>
		<cfset FaxNumb = " ">
	</cfif>
</cfif>	
</cfif>
<cftransaction>
 
 
 
<cfloop list="#SESSION.Publication#" index="i">
<cfquery datasource="FCData" name="INSERT_Subscription">
INSERT INTO tSubscriptions(
SubscriptionDate,
ReceivePub,
Pub,
PrintType,
FirstName,
LastName,
CompanyName,
CompanyAddress,
CompanyAddress2,
CompanyCity,
CompanyState,
CompanyZip,
CompanyCountry,
DeliveryHome,
DeliveryBusiness,
PhoneLine,
FaxLine,
Email,
EndProduct,
PriorityCode,
InterestArea,
BuySpecifyApprove,
JobFunction,
WeldBusiness,
Employees,
CompanyType,
Enewsletter_Fabcom,
Enewsletter_TT,
Enewsletter_WW,
Enewsletter_SNB,
ReceiveVendorEmails,
BPA_City,
IndivFaxArea,
IndivFaxNumb,
FaxArea,
FaxNumb,
IndivPhoneArea,
IndivPhoneNumb,
PhoneArea,
Referer,
<cfif IsDefined('SESSION.NameID')>
NameID,
</cfif>
PhoneNumb
)
VALUES (
#CreateODBCDate(Now())#,
#FORM.ReceivePub#,
'#i#',
'#FORM.PrintType#',
'#FORM.FirstName#',
'#FORM.LastName#',
'#FORM.CompanyName#',
'#FORM.CompanyAddress#',
'#FORM.CompanyAddress2#',
'#FORM.CompanyCity#',
'#FORM.CompanyState#',
'#FORM.CompanyZip#',
'#FORM.CompanyCountry#',
#FORM.DeliveryHome#,
#FORM.DeliveryBusiness#,
'#FORM.PhoneLine#',
'#FORM.FaxLine#',
'#FORM.Email#',
'#FORM.EndProduct#',
'#FORM.PriorityCode#',
'#ListSort(FORM.InterestArea,"Numeric", "ASC")#',
'#FORM.BuySpecifyApprove#',
'#FORM.JobFunction#',
'#FORM.WeldBusiness#',
'#FORM.Employees#',
'#FORM.CompanyType#',
'#Enewsletter_Fabcom#',
'#Enewsletter_TT#',
'#Enewsletter_WW#',
'#Enewsletter_SNB#',
'#ReceiveVendorEmails#',
'#FORM.BPA_City#',
'#IndivFaxArea#',
'#IndivFaxNumb#',
'#FaxArea#',
'#FaxNumb#',
'#IndivPhoneArea#',
'#IndivPhoneNumb#',
'#PhoneArea#',
'#FORM.Referer#',
<cfif IsDefined('SESSION.NameID')>
#SESSION.NameID#,
</cfif>
'#PhoneNumb#'
)
</cfquery>
</cfloop>
 
 
 
</cftransaction>
<cfif FORM.Email CONTAINS "AOL.COM" OR FORM.Email CONTAINS "hotmail.com" OR FORM.Email CONTAINS "msn.com">
 
 
<cfmail to="#FORM.Email#"
		cc="newsletters@thefabricator.com"
		from="info@thefabricator.com"
		subject="AOL, MSN and Hotmail Subscribers"
		type="html"
		>
<table cellpadding="3" cellspacing="0" width="550" border="0">
<tr>
<td>Dear #FORM.FirstName#: <br/><br/>
 
<p>Please be sure to whitelist <b>newsletters@thefabricator.com</b> to insure continued delivery.</p>
 
<p>Thank you,  <br/>
FMA Communications, Inc.</p>
</td>
</tr>
</table>
</cfmail>		
</cfif>
<cf_FMAC-Header>
<cf_SecondNav page="Subscribers">
<!-- InstanceEndEditable -->
<div id="content">
<!-- InstanceBeginEditable name="content" -->
<h1>Thank you!</h1>
 
<ul>
  <li><a href="http://www.fma-communications.com/Subscriptions.cfm"> Subscribe </a> to another FMA Communications, Inc. publication. </li>
  <li>Invite a colleague to subscribe --<a href="http://www.fma-communications.com/SendtoaFriend_FMAC/Send_to_a_friend.cfm?PUB=SJ">  click here </a> to email the subscription page. </li>
</ul>
<h2> Search our:</h2>
<ul>
  <li>  <a href="http://www.thefabricator.com/Article_Archive/Article_Archive.cfm">Article  Archive</a> </li>
  <li><a href="http://www.ffid.net">Industry Supplier Directory </a></li>
  <li><a href="http://www.thefabricator.com/classified"> Classifieds </a></li>
  <li><a href="https://www.fmanet.org/FMAstore/index.cfm"> FMA Book Store </a></li>
  <li><a href="http://www.thefabricator.com/Buyers-Guides.cfm"> Searchable  Buyers' Guides </a></li>
  <li><a href="http://www.fmanet.org/JobBoard/Main.cfm"> Job Board </a></li>
  <li><a href="http://www.fmafabtech.com"> FABTECH&reg; International </a></li>
  <li><a href="http://www.fmanet.org/Conferences/Conference-Calendar.cfm"> Conference  Schedules </a></li>
  <li><a href="http://www.fmanet.org/Membership/FMA-Membership.cfm"> FMA </a> &amp; <a href="http://www.fmanet.org/Membership/FMA-Membership.cfm"> TPA  </a> Membership Information</li>
  <li><a href="http://www.fma-communications.com"> Advertising opportunities </a> <br />
  </li>
</ul>
</ul>            
            <cfif IsDefined("SESSION.ArticleID")>
			<table width="550" align="center">
			  <tr>
			    <td width="50"></td>
			    <td align="center">
				<table width="450" border="2"  cellpadding="0" cellspacing= "0" bordercolor="#AABBD8" align="center">
                    <tr>
                      <td align="center"><br/><cfoutput><span class="homepghead">You may now view the Subscriber Only Content.</span> <br/><cfset SESSION.LoggedGood = 1>
                             
              Click <a href="http://www.thefabricator.com/Articles/Subscriber_Content.cfm?ID=#SESSION.ArticleID#&New=Yes">here</a> to read the article.</cfoutput> <br/></td>
                    </tr>
			        </table></td>
			    <td width="50"></td>
		      </tr>
		    </table></cfif>
			<p><b>Tell us your ideas<br/>
            </b>Our staff is always eager to hear <a href="mailto:vickib@thefabricator.com?Subject=thefabricator.com%20article%20proposalv">article proposals</a> and other <a href="mailto:webmaster@thefabricator.com?Subject=thefabricator.com%20site%20suggestions">site suggestions</a> from industry professionals. If your company has made new strides in your fabrication process, we want to hear the keys to your success. We may feature your company in an upcoming issue.</p>
            <p><b>thefabricator.com</b><br/>
              Vicki Bell, Web Content Manager<br/>
            833 Featherstone Rd.<br/> 
            Rockford, IL 61107<br/> 
            fax: 815-381-1370<br/> 
            e-mail:<a href="mailto:vickib@thefabricator.com">vickib@thefabricator.com</a></p>          </td>
        </tr>
      </table>
 
 
<!-- InstanceEndEditable --></div>
 
<!-- InstanceBeginEditable name="footer" -->
 
 
<cfif  FORM.PrintType EQ "Digital" AND SESSION.Publication EQ "FAB" OR SESSION.Publication EQ "PWT" >
	<cfscript>
		SESSION.ReceiveName = SESSION.Publication; 
        SESSION.Email = FORM.Email;
        SESSION.firstname = FORM.firstname; 
        SESSION.lastname = FORM.lastname;
    </cfscript>
    <cflocation addtoken="no" url="Digital-Thankyou.cfm">
</cfif>
 
 
 
 
<!---FORM--->
<cfif IsDefined('FORM.FieldNames')>
<cfloop list="#FORM.FieldNames#" index="i">
<cfscript>
FORM[i] = replace(FORM[i],'<','&lt;','ALL');
FORM[i] = replace(FORM[i],'<','&gt;','ALL');
FORM[i] = replace(FORM[i],'"','&quot;','ALL');
FORM[i] = replace(FORM[i],'''',' ','ALL');
</cfscript>
</cfloop>
</cfif>
 
<cfif IsDefined('URL.PriorityCode')>
	<cfset SESSION.PriorityCode = URL.PriorityCode>
</cfif>
<cfif IsDefined('URL.Publication')>
<cfset SESSION.Publication = URL.Publication>
<!---<cfelse>
<cfif Not IsDefined('SESSION.Publication')>
<cfset SESSION.Publication = "FAB">--->
</cfif>
 
<cfif Not IsDefined('SESSION.HTTP_REFERER')>
	<cfset SESSION.HTTP_REFERER = CGI.HTTP_REFERER>
</cfif>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- InstanceBegin template="/Templates/FMAC-CSS.dwt.cfm" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="Laurie Harshbarger" />
<meta name="identifier" content="http://www.fma-communications.com" />
<meta name="organization-email" content="info@thefabricator.com" />
<meta name="copyright" content="2007 fma-communications.com" />
<meta name="coverage" content="Global" />
<meta name="robots" content="Index, Follow" />
<meta name="revisit" content="1 day" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<link rel="stylesheet" href="http://www.fma-communications.com/Templates/FMAC-styles.css" type="text/css" />
<link rel="shortcut icon" href="http://www.fma-communications.com/favicon.ico" />
<!-- InstanceBeginEditable name="head" -->
<SCRIPT LANGUAGE="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=0,menubar=1,resizable=1,width=450,height=350');");
}
function autotab(original,destination){
if (original.getAttribute&&original.value.length==original.getAttribute("maxlength"))
destination.focus()
}
</script>
 
<cfif IsDefined('FORM.NameID')>
   <cfif Val(FORM.NameID) EQ 0 >
				  <cfmail 
 					 to = "brendaw@thefabricator.com" 
                    from = "webmaster@thefabricator.com"
                      subject = "Subscription Express Error"
					  type = "html">
                      <cfdump var="#FORM#">
                      </cfmail>
                     <cfset invalid = 1>
                 <CFELSE>
                      
<cfquery datasource="FCData" name="getSubscriber">
SELECT     Name_ID, First_Name, Surname, Employer, Company_Addr1, Company_Addr2, Company_City, Company_State, Company_Zip, Company_Country_Desc, Email
FROM         tSubscribers
WHERE     (Name_ID = <cfqueryparam 
                        value="#FORM.NameID#" 
                        cfsqltype="CF_SQL_VARCHAR" 
                        maxlength="8">)
</cfquery>
<cfset SESSION.NameID = val(getSubscriber.Name_ID)>
</cfif>
     </cfif>
                      
<cfquery datasource="FCData" name="GetCountry">
SELECT Code, CountryName
FROM tCountries
ORDER BY ID
</cfquery>
 
<meta name="description" content="Subscriptions are free to qualified persons in North America involved in metal forming and fabricating, and subscriptions outside the U.S. are available for a fee.">
<meta name="keywords" content="Tube and Pipe Journal,Stamping Journal,Practical Welding Today,The Fabricator,welding,company,cutting,address,administrative,fabricator,line,mfg,newsletter,product,pipe,zip,tube pipe,TPJ,SJ">
 
<title>Express Subscription and Renewal Form</title>
 
<style type="text/css">
<!--
.style1 {
	color: #990000;
	font-weight: bold;
}
 
.style3 {font-size: 11px;
color: #990000
 
}
-->
</style>
<!-- InstanceEndEditable -->
<meta name="verify-v1" content="fLeSUsrtcXD2chNcWx75Am/KlO5M6wAHzK8mY78+lUo=" />
</head>
<body>
 
<div id="wrapper">
<!-- InstanceBeginEditable name="header" -->
 
<!--- types: HOME, TPJ, SJ --->
<cf_FMAC-Header>
<cf_SecondNav page="Subscribers">
<!-- InstanceEndEditable -->
<div id="content">
<!-- InstanceBeginEditable name="content" -->
 
<h1>Express Subscription and Renewal Form</h1>
 
<table width="100%"  border="0" cellpadding="10" cellspacing="0" align="center">
  <tr>
    <td align="left" valign="top"><cfif Not IsDefined('getSubscriber.Name_ID')>
          <form action="Subscription-Express.cfm" method="post">
            <table width="570" cellpadding="3" cellspacing="1" style="border-color:#d9d9d9; border:solid 1px;" align="center">
              <tr>
                <td colspan="2" valign="top">Are you renewing a subscription? Look for your Subscriber ID on your magazine's mailing label.<br />
                    <br />
                  <div align="right"><b>Subscriber ID:</b>&nbsp;&nbsp;
               
                    
                      <input name="NameID" size="7" type="text" maxlength="7"/>
                                     <p class="style3">**Do not enter the # sign or any Alpha characters.</p>
                    <input type="submit" name="submit" value="Get My Information" />
                  </div></td>
                <td valign="top"><img src="http://www.fma-communications.com/SiteImages/nameid.gif" /><br />
                   <span class="style1">**If you do not have your ID, skip this box and continue with the form.</span></td>
              </tr>
          
             </table>
          </form>
          <cfif isDefined ('invalid')>
 
 <blockquote  style="border:#990000 2px solid; text-align:center; font-weight:bold; color:#990000">**You have entered an invalid Subscriber ID,<br /> Subscriber ID's contain <u> numeric characters only.</u></blockquote>
 </cfif>
		  <br />
        </cfif>
        <cfform method="post" action="Subscription-Page-Action-Express.cfm" name="form1">
 
          <table width="550" align="center">
            <tr>
              <td>&nbsp;&nbsp;</td>
              <td bgcolor="#dfedfe">&nbsp;&nbsp;&nbsp;</td>
              <td>= indicates required field</td>
            </tr>
          </table>
<table cellpadding="2" width="550" align="center">
<tr>
<td><img src="http://www.thefabricator.com/SiteImages/PubCovers/Fabcover100.jpg" border="0" height="134" width="100" alt="FABRICATOR Media Kit"/></td>
<td valign="middle"><input type="checkbox" name="ReceiveName"  value="FAB"  style="background-color:#DFEDFE">
  &nbsp;Yes, I would like to receive/continue to receive <i>The Fabricator&reg;</i>, covering all aspects of metal forming and fabricating </p>
 
 <p>
<cfinput type="radio" name="PrintTypeFAB" value="Print" /> Print Version &nbsp;
<cfinput type="radio" name="PrintTypeFAB" value="Digital" /> Digital Version <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="small"><a href="http://www.thefabricator-digital.com" target="_blank">View Sample Issue</a>  | <a href="http://www.fma-communications.com/Digital-Fabricator-FAQ.cfm" target="_blank">Digital FAQ's</a></span>
 </p> 
 
      <input type="checkbox" name="NotReceiveName" value="FAB"  style="background-color:#DFEDFE">
    No </p></td>
</tr>
<tr>
<td><img src="http://www.thefabricator.com/SiteImages/PubCovers/TPJcover100.jpg" border="0" height="134" width="100" alt="TPJ Tube And Pipe Journal Media Kit"/></td>
<td valign="middle"><input type="checkbox" name="ReceiveName"  value="TPJ"  style="background-color:#DFEDFE">
&nbsp;Yes, I would like to receive/continue to receive <i>The Tube and Pipe Journal&reg;</i>, North America's only publication devoted exclusively to the tube and pipe industry. <br/>
<br/><input type="checkbox" name="NotReceiveName" value="TPJ"  style="background-color:#DFEDFE"> No
</td>
</tr>
 
<tr>
<td><img src="http://www.thefabricator.com/SiteImages/PubCovers/SJcover100.jpg" border="0" height="134" width="100" alt="STAMPING Journal Media Kit"/></td>
<td valign="middle"><input type="checkbox" name="ReceiveName"  value="SJ"  style="background-color:#DFEDFE">
&nbsp;Yes, I would like to receive/continue to receive <i>STAMPING Journal&reg;</i>, the only industrial publication dedicated soley to the metal stamping market. <br/>
 <p>
<cfinput type="radio" name="PrintTypeSTP" value="Print" /> Print Version &nbsp;
<cfinput type="radio" name="PrintTypeSTP" value="Digital" /> Digital Version <br />
 </p> 
<br/>
<input type="checkbox" name="NotReceiveName" value="SJ"  style="background-color:#DFEDFE"> No
</td>
</tr>
 
<tr>
<td><img src="http://www.thefabricator.com/SiteImages/PubCovers/PWTcover100.jpg" border="0" height="134" width="100" alt="Practical Welding Today Media Kit"/></td>
<td valign="middle"><input type="checkbox" name="ReceiveName"  value="PWT"  style="background-color:#DFEDFE">
&nbsp;Yes, I would like to receive/continue to receive <i>Practical Welding Today&reg;</i>, providing hands-on; down to earth information for welders. <br/>
 
 <p>
<cfinput type="radio" name="PrintTypePWT" value="Print" /> Print Version &nbsp;
<cfinput type="radio" name="PrintTypePWT" value="Digital" /> Digital Version <br />
 </p> 
 
<br/><input type="checkbox" name="NotReceiveName" value="PWT"  style="background-color:#DFEDFE"> No
</td>
</tr>
 
 
</table>
          <table cellpadding="2" width="573" align="center">
            <tr>
              <td colspan="2"><hr /></td>
            </tr>
            <tr>
              <td width="201" align="right"><b>First name:</b></td>
              <td width="356"><cfif IsDefined('getSubscriber.First_Name')>
                  <cfinput name="firstname" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;" 
		 value="#getSubscriber.First_Name#"
		 required="yes"
		 message="FIRST NAME is a required field."
		 >
                  <cfelse>
                  <cfinput name="firstname" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="FIRST NAME is a required field."
		 >
              </cfif></td>
            </tr>
            <tr>
              <td width="201" align="right"><b>Last name:</b></td>
              <td width="356"><cfif IsDefined('getSubscriber.SurName')>
                  <cfinput name="Lastname" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;" 
		 value="#getSubscriber.SurName#"
		 required="yes"
		 message="LAST NAME is a required field."
		 >
                  <cfelse>
                  <cfinput name="Lastname" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="LAST NAME is a required field."
		 >
              </cfif></td>
            </tr>
            <tr>
              <td width="201" align="right"><b>Company name:</b></td>
              <td width="356"><cfif IsDefined('getSubscriber.Employer')>
                  <cfinput name="CompanyName" 
		 type="text" 
		 size="40" 
		 style="background-color:##DFEDFE;" 
		 value="#getSubscriber.Employer#"
		 required="yes"
		 message="LAST NAME is a required field."
		 >
                  <cfelse>
                  <cfinput name="CompanyName" 
		 type="text" 
		 size="40" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="COMPANY NAME is a required field."
		 >
              </cfif></td>
            </tr>
            <tr>
              <td width="201" align="right"><b> Address:</b></td>
              <td width="356"><cfif IsDefined('getSubscriber.Company_Addr1')>
                  <cfinput name="CompanyAddress" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;" 
		 value="#getSubscriber.Company_Addr1#"
		 required="yes"
		 message="COMPANY ADDRESS is a required field."
		 >
                  <cfelse>
                  <cfinput name="CompanyAddress" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="COMPANY ADDRESS is a required field."
		 >
              </cfif></td>
            </tr>
            <tr>
              <td width="201" align="right">&nbsp;</td>
              <td width="356"><cfif IsDefined('getSubscriber.Company_Addr2')>
                  <cfinput name="CompanyAddress2" 
		 type="text" 
		 size="30" 
		 value="#getSubscriber.Company_Addr2#"
		 required="no"
		 >
                  <cfelse>
                  <cfinput name="CompanyAddress2" 
		 type="text" 
		 size="30" 
		 required="no"
		 >
              </cfif></td>
            </tr>
            <tr>
              <td width="201" align="right"><b>City:</b></td>
              <td width="356"><cfif IsDefined('getSubscriber.Company_City')>
                  <cfinput name="CompanyCity" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;" 
		 value="#getSubscriber.Company_City#"
		 required="yes"
		 message="CITY is a required field."
		 >
                  <cfelse>
                  <cfinput name="CompanyCity" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="CITY is a required field."
		 >
              </cfif></td>
            </tr>
            <tr>
              <td width="201" align="right"><b>State/Province:</b></td>
              <td width="356"><cfif IsDefined('getSubscriber.Company_State')>
                  <cfinput name="CompanyState" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;" 
		 value="#getSubscriber.Company_State#"
		 required="yes"
		 message="STATE/PROVINCE is a required field."
		 >
                  <cfelse>
                  <cfinput name="CompanyState" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="STATE/PROVINCE is a required field."
		 >
              </cfif></td>
            </tr>
            <tr>
              <td width="201" align="right"><b>Zip/Postal Code:</b></td>
              <td width="356"><cfif IsDefined('getSubscriber.Company_Zip')>
                  <cfinput name="CompanyZip" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;" 
		 value="#getSubscriber.Company_Zip#"
		 required="yes"
		 message="ZIP/POSTAL CODE is a required field."
		 >
                  <cfelse>
                  <cfinput name="CompanyZip" 
		 type="text" 
		 size="30" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="ZIP/POSTAL CODE is a required field."
		 >
              </cfif></td>
            </tr>
            <tr>
              <td width="201" align="right"><b>Country:</b></td>
              <td width="356"><cfselect name="CompanyCountry" message="COMPANY is a required field." size="1" query="getCountry" value="Code" display="CountryName" selected="USA" required="yes" style="background-color:##DFEDFE;"> </cfselect>              </td>
            </tr>
            <tr>
              <td colspan="3"><span class="style1">This Address is my: 
                  &nbsp;  &nbsp; 
                  <input type="checkbox" name="DeliveryBusiness" value="1" />
                  Business              
&nbsp;  &nbsp;
 <input type="checkbox" name="DeliveryHome" value="1" /> 
Home</span></td>
            </tr>
            <tr>
              <td colspan="2"><hr /></td>
            </tr>
            <tr>
              <td width="201" align="right" valign="top"><b>Phone:</b></td>
              <td width="356" valign="top"><input type="text" name="PhoneAreaCode" size="3" onkeyup="autotab(this, document.form1.PhonePrefix)" maxlength="3" />
                -
                <input type="text" name="PhonePrefix" size="3" onkeyup="autotab(this, document.form1.PhoneSuffix)" maxlength="3" />
                -
                <input type="text" name="PhoneSuffix" size="4" maxlength="4" /></td>
            </tr>
            <tr>
              <td width="201" align="right" valign="top">&nbsp;</td>
              <td width="356" valign="top"><cfinput name="IntPhone" 
									  type="text" 
									  value="" 
									  size="25">
                &nbsp; <span class="menu"><i>(if outside U.S. and Canada)</i></span> <br />
                The phone number listed above is a:<br />
                <input type="radio" name="phoneline" value="Direct" checked="checked" />
                Direct line &nbsp;&nbsp;
                <input type="radio" name="phoneline" value="Company" />
                Main company line</td>
            </tr>
            <tr>
              <td colspan="2"><hr /></td>
            </tr>
            <tr>
              <td width="201" align="right" valign="top"><b>Fax:</b></td>
              <td width="356" valign="top"><input type="text" name="FaxAreaCode" size="3" onkeyup="autotab(this, document.form1.FaxPrefix)" maxlength="3" />
                -
                <input type="text" name="FaxPrefix" size="3" onkeyup="autotab(this, document.form1.FaxSuffix)" maxlength="3" />
                -
                <input type="text" name="FaxSuffix" size="4" maxlength="4" /></td>
            </tr>
            <tr>
              <td width="201" align="right" valign="top">&nbsp;</td>
              <td width="356" valign="top"><cfinput name="IntFax" 
									  type="text" 
									  value="" 
									  size="25">
                &nbsp; <span class="menu"><i>(if outside U.S. and Canada)</i></span> <br />
                The fax number listed above is a:<br />
                <input type="radio" name="faxline" value="Direct" checked="checked" />
                Direct line &nbsp;&nbsp;
                <input type="radio" name="faxline" value="Company" />
                Main company line</td>
            </tr>
            <tr>
              <td colspan="2"><hr /></td>
            </tr>
            <tr>
              <td width="201" align="right" valign="top"><b>E-mail address:</b></td>
              <td width="356"><cfif IsDefined('getSubscriber.Email')>
                  <cfinput name="Email" 
		 type="text" 
		 size="50" 
		 style="background-color:##DFEDFE;" 
		 value="#getSubscriber.Email#"
		 required="yes"
		 message="E-MAIL ADDRESS is a required field."
		 >
                  <cfelse>
                  <cfinput name="Email" 
		 type="text" 
		 size="50" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="E-MAIL ADDRESS is a required field."
		 >
              </cfif></td>
            </tr>
                               <tr>
              <td colspan="2"><b>Note:</b> Please be sure to whitelist <a href="mailto:newsletters@thefabricator.com">newsletters@thefabricator.com</a> to   insure  delivery.</td>
            </tr>
          </table>
          <table cellpadding="2" width="557" align="center">
            <tr>
              <td colspan="2"><hr /></td>
            </tr>
            <tr>
              <td width="200" align="right" valign="top"><b>Primary end product<br />
                (please be specific):</b></td>
              <td width="330"><cfinput name="Endproduct" 
		 type="text" 
		 size="60" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="End Product is a required field."
		 ></td>
            </tr>
            <tr>
              <td colspan="2"><hr /></td>
            </tr>
            <tr>
              <td width="200" align="right" valign="top"><b>Enter your priority code here:</b><br />
                  <span class="footer">If you do not have a code, please leave this field blank.</span><br />
                <br /></td>
              <td width="330" valign="top">
               <input name="PriorityCode" type="text" size="7" value="<cfif IsDefined('SESSION.PriorityCode')><cfoutput>#SESSION.PriorityCode#</cfoutput></cfif>" />
                  <br />
                <br /></td>
            </tr>
          </table>
          <input name="BuySpecifyApprove" type="hidden" value="" />
		  <!---<table cellpadding="2" width="550" align="center">
		              <tr>
              <td colspan="2"><b>I buy, specify or approce the purchase of the following technologies: (check all that apply)</b><br />
                  <hr /></td>
            </tr>
		  <cfif SESSION.Publication EQ "PWT">
<tr>
              <td class="body">
<input name="BuySpecifyApprove" type="checkbox"  value="1" />Arc Welding (Includes GMAW (MIG), GTAW (TIG), SMAW, FCAW, SAW)<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="2" />Brazing/Soldering<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="3" />Consumables<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="4" />Cutting (Plasma and Oxyfuel)<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="5" />Weld Prep (Grinding, sanding, beveling)<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="6" />Welding Inspection<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="7" />Repair and Field Welding<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="8" />Resistance Welding<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="9" />Laser Welding<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="10" />Robotic Welding<br/>
</td>
<td>&nbsp;</td>
            </tr>
<cfelseif SESSION.Publication EQ "SJ">
<tr>
              <td class="body" colspan="2">
<input name="BuySpecifyApprove" type="checkbox"  value="1" />Coil cars and cradles<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="2" />Coil cut-to-length machines<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="3" />Coil levelers, slitters and straighteners<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="4" />Uncoilers and recoilers<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="5" />Die handling<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="6" />Press feeds<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="7" />Presses (Includes, high-speed, hydraulic and mechanical)<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="8" />Transfer presses<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="9" />Tool &amp; Die<br/>
</td>
            </tr>
<cfelseif SESSION.Publication EQ "TPJ">
<tr>
              <td class="body" colspan="2">
<input name="BuySpecifyApprove" type="checkbox"  value="1" />Arc Welding<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="2" />Cutting and Weld Prep<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="3" />Materials Handling<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="4" />Sawing<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="5" />Shearing<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="6" />Testing &amp; Measuring<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="7" />Tool &amp; Die<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="8" />Tube &amp; Pipe Mills<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="9" />Bending Machines<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="10" />End Forming Machines<br/>
</td>
            </tr>
<cfelse>
<tr>
              <td class="body" valign="top">
<input name="BuySpecifyApprove" type="checkbox"  value="1" />Bending (Includes press brakes and folding machines)<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="2" />Assembly<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="3" />Metals/materials<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="4" />Arc Welding (Includes GMAW (MIG), GTAW (TIG), SMAW, FCAW, SAW)<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="5" />Punching<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="6" />Sawing<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="7" />Shearing<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="8" />Aluminum Welding<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="9" />Materials Handling<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="10" />Cutting (Includes Plasma &amp; Oxyfuel)<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="11" />Waterjet Cutting<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="12" />Laser Cutting<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="13" />Weld Prep (Grinding, sanding, beveling)<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="14" />Finishing<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="15" />Tool &amp; Die<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="16" />Safety<br/>
</td> <td class="body" valign="top">
<input name="BuySpecifyApprove" type="checkbox"  value="17" />Shop management<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="18" />CAD/CAM Software<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="19" />Welding Inspection<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="20" />Testing &amp; Measuring<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="21" />Roll Forming<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="22" />Repair &amp; Field Welding<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="23" />Metallurgy<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="24" />Presses (Includes, high-speed, hydraulic and mechanical)<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="25" />Resistance Welding<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="26" />Robotics<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="27" />Consumables<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="28" />Press Feeding<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="29" />Laser Welding<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="30" />Tube/Pipe Production<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="31" />Tube/Pipe Fabrication<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="32" />Coil Processing<br/>
<input name="BuySpecifyApprove" type="checkbox"  value="33" />Hydroforming<br/>
</td>
            </tr>
</cfif>
	</table>--->	  
          <table cellpadding="2" width="550" align="center">
            <tr>
              <td colspan="2"><b>What is your principal job function?</b><br />
                  <hr /></td>
            </tr>
            <tr>
              <td><cfinput name="JobFunction" value="B" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Corporate Executive<br />
                <cfinput name="JobFunction" value="C" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Mfg. Production Mgmnt.<br />
                <cfinput name="JobFunction" value="D" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Mfg. Production Dept.<br />
                <cfinput name="JobFunction" value="E" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Mfg. Engineering Mgmnt.<br />
                <cfinput name="JobFunction" value="F" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Mfg. Engineering Dept.<br />
                <cfinput name="JobFunction" value="H" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Product R&amp;D Mgmnt.<br />
                <cfinput name="JobFunction" value="I" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Product R&amp;D Dept.<br />
                <cfinput name="JobFunction" value="L" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Purchasing<br />
                <br /></td>
              <td>
                 <cfinput name="JobFunction" value="R" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Factory Automation Mgmt.<br />
                           <cfinput name="JobFunction" value="S" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Factory Automation Engineers<br />
                <cfinput name="JobFunction" value="P" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Quality Assurance Mgmnt.<br />
                <cfinput name="JobFunction" value="Q" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Quality Assurance Dept.<br />
                <cfinput name="JobFunction" value="T" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Welding Mgmnt.<br />
                <cfinput name="JobFunction" value="U" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Welding Dept.<br />
                <cfinput name="JobFunction" value="G" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Other Operations/Production<br />
                <cfinput name="JobFunction" value="N" style="background-color:##DFEDFE;" type="radio" required="yes" message="Job Function is a required field">
                Other Qualified<br />
                <br />
              </td>
            </tr>
            <input name="InterestArea" type="hidden" value="" />
           <!--- <tr>
              <td colspan="2"><b>My interest areas are (choose all that apply)?</b><br />
                  <hr /></td>
            </tr>
            <tr>
              <td class="body"><input name="InterestArea" type="checkbox"  value="26" />
                Aluminum Welding<br />
                <input name="InterestArea" type="checkbox"  value="27" />
                Arc Welding<br />
                <input name="InterestArea" type="checkbox"  value="28" />
                Art and Sculpture<br />
                <input name="InterestArea" type="checkbox"  value="1" />
                Assembly<br />
                <input name="InterestArea" type="checkbox"  value="2" />
                Bending<br />
                <input name="InterestArea" type="checkbox"  value="3" />
                CAD/CAM Software<br />
                <input name="InterestArea" type="checkbox"  value="19" />
                Coil Processing<br />
                <input name="InterestArea" type="checkbox"  value="29" />
                Consumables<br />
                <input name="InterestArea" type="checkbox"  value="30" />
                Cutting and Weld Prep<br />
                <input name="InterestArea" type="checkbox"  value="10" />
                Finishing<br />
                <input name="InterestArea" type="checkbox"  value="11" />
                Folding<br />
                <input name="InterestArea" type="checkbox"  value="12" />
                Hydroforming<br />
                <input name="InterestArea" type="checkbox"  value="4" />
                Laser Cutting<br />
                <input name="InterestArea" type="checkbox"  value="31" />
                Laser Welding<br />
                <input name="InterestArea" type="checkbox"  value="13" />
                Materials Handling<br />
                <input name="InterestArea" type="checkbox"  value="32" />
                Metallurgy<br />
                <input name="InterestArea" type="checkbox"  value="14" />
                Metals/Materials<br />
                <input name="InterestArea" type="checkbox"  value="5" />
                Oxyfuel Cutting<br />
                <br />
              </td>
              <td class="body"><input name="InterestArea" type="checkbox"  value="6" />
                Plasma Cutting<br />
                <input name="InterestArea" type="checkbox"  value="21" />
                Press Feeding<br />
                <input name="InterestArea" type="checkbox"  value="20" />
                Press Technology<br />
                <input name="InterestArea" type="checkbox"  value="15" />
                Punching<br />
                <input name="InterestArea" type="checkbox"  value="33" />
                Repair and Field Welding<br />
                <input name="InterestArea" type="checkbox"  value="34" />
                Resistance Welding<br />
                <input name="InterestArea" type="checkbox"  value="35" />
                Robotic Welding<br />
                <input name="InterestArea" type="checkbox"  value="16" />
                Roll Forming<br />
                <input name="InterestArea" type="checkbox"  value="17" />
                Safety<br />
                <input name="InterestArea" type="checkbox"  value="7" />
                Sawing<br />
                <input name="InterestArea" type="checkbox"  value="8" />
                Shearing<br />
                <input name="InterestArea" type="checkbox"  value="18" />
                Shop Management<br />
                <input name="InterestArea" type="checkbox"  value="22" />
                Testing and Measuring<br />
                <input name="InterestArea" type="checkbox"  value="23" />
                Tool and Die<br />
                <input name="InterestArea" type="checkbox"  value="24" />
                Tube and Pipe Fabrication<br />
                <input name="InterestArea" type="checkbox"  value="25" />
                Tube and Pipe Production<br />
                <input name="InterestArea" type="checkbox"  value="9" />
                Waterjet Cutting<br />
                <input name="InterestArea" type="checkbox"  value="36" />
                Welding Inspection<br />
                <br /></td>
            </tr>--->
          </table>
          <table cellpadding="5" width="550" align="center">
            <tr>
              <td colspan="2"><b>Total employees at this location:</b><br />
                  <hr /></td>
            </tr>
            <tr>
              <td valign="top"><input type="radio" name="employees" value="0" />
                1-19&nbsp;<br />
                <input type="radio" name="employees" value="1" />
                20-49&nbsp;<br />
                <input type="radio" name="employees" value="2" />
                50-99&nbsp;<br />
                <input type="radio" name="employees" value="3" />
                100-249&nbsp;<br />
                <br />
              </td>
              <td valign="top"><input type="radio" name="employees" value="4" />
                250-499&nbsp;<br />
                <input type="radio" name="employees" value="5" />
                500-999&nbsp;<br />
                <input type="radio" name="employees" value="6" />
                1,000+ </td>
            </tr>
            <tr>
              <td colspan="2"><b>Type of company:</b><br />
                  <hr />
                  <input type="radio" name="CompanyType" value="G" />
                Contract Manufacturer/Job Shop<br />
                  <input type="radio" name="CompanyType" value="J" />
                End Product Manufacturer/OEM<br />
                  <input type="radio" name="CompanyType" value="K" />
                Service Center<br />
                  <input type="radio" name="CompanyType" value="H" />
                Toll Processor<br />
                  <input type="radio" name="CompanyType" value="L" />
                Other<br />
                <br /></td>
            </tr>
            <tr>
              <td colspan="2" align="left"><b>E-newsletters</b><br />
                  <hr />
                <input type="checkbox" name="eNewsletter_Fabcom" value="1" />
                Yes, I would like to receive the Fabricating Update e-newsletter.<br />
                <input type="checkbox" name="eNewsletter_TT" value="1" />
                Yes, I would like to receive the Tube Talk e-newsletter.<br />
                <input type="checkbox" name="eNewsletter_WW" value="1" />
                Yes, I would like to receive the Welding Wire e-newsletter.<br />
                <input type="checkbox" name="eNewsletter_SNB" value="1" />
                Yes, I would like to receive the Stamping News Brief e-newsletter.</td>
            </tr>
   
            <tr>
              <td colspan="2"><hr />
                  <input type="checkbox" name="ReceiveVendorEmails" value="1" style="background-color:#DFEDFE" />
                Yes, I would like to receive e-mails from industry vendors/suppliers based on <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my interest areas.</td>
            </tr>
            <tr>
              <td colspan="2"><hr />
                  <input type="checkbox" name="outsideusa" value="1" />
                I reside outside North America and would like to receive subscription<br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;information.</td>
            </tr>
            <tr>
              <td colspan="2"><hr />
In lieu of a signature, we require a unique identifier used only for subscription verification purposes.  How many siblings do you have?              <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <cfinput name="BPA_city" 
		 type="text" 
		 size="20" 
		 style="background-color:##DFEDFE;"
		 required="yes"
		 message="Please provide your mothers maiden name."
		 >
                <br />
                <hr /></td>
            </tr>
          </table>
          <div align="center"> <br />
              <cfif IsDefined("URL.SC")>
                <cfif URL.SC EQ "FAB">
                  <input type="hidden" name="Subscriber" value="1" />
                  <cfset SESSION.ArticleID = URL.ID>
                </cfif>
                <cfif URL.SC EQ "FAB">
                  <input type="hidden" name="Subscriber" value="1" />
                  <cfset SESSION.ArticleID = URL.ID>
                </cfif>
                <cfif URL.SC EQ "Requal">
                  <input type="hidden" name="Subscriber" value="1" />
                  <cfset SESSION.ArticleID = URL.ID>
                </cfif>
                <cfif URL.SC EQ "SJ">
                  <input type="hidden" name="Subscriber" value="1" />
                  <cfset SESSION.ArticleID = URL.ID>
                </cfif>
                <cfif URL.SC EQ "Requal">
                  <input type="hidden" name="Subscriber" value="1" />
                  <cfset SESSION.ArticleID = URL.ID>
                </cfif>
                <cfif URL.SC EQ "PWT">
                  <input type="hidden" name="Subscriber" value="1" />
                  <cfset SESSION.ArticleID = URL.ID>
                </cfif>
                <cfif URL.SC EQ "Requal">
                  <input type="hidden" name="Subscriber" value="1" />
                  <cfset SESSION.ArticleID = URL.ID>
                </cfif>
                <cfif URL.SC EQ "TPJ">
                  <input type="hidden" name="Subscriber" value="1" />
                  <cfset SESSION.ArticleID = URL.ID>
                </cfif>
                <cfif URL.SC EQ "Requal">
                  <input type="hidden" name="Subscriber" value="1" />
                  <cfset SESSION.ArticleID = URL.ID>
                </cfif>
              </cfif>
              <cfif SESSION.HTTP_REFERER NEQ "">
<input type="hidden" name="Referer" value="<cfoutput>#SESSION.HTTP_REFERER#</cfoutput>" />
</cfif> 
              <input type="submit" name="Submit" value="Submit" />
            &nbsp;&nbsp;
            <input type="reset" name="Reset" value="Reset" />
          </div>
        </cfform></td>
  </tr>
</table>

                                  
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:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
531:
532:
533:
534:
535:
536:
537:
538:
539:
540:
541:
542:
543:
544:
545:
546:
547:
548:
549:
550:
551:
552:
553:
554:
555:
556:
557:
558:
559:
560:
561:
562:
563:
564:
565:
566:
567:
568:
569:
570:
571:
572:
573:
574:
575:
576:
577:
578:
579:
580:
581:
582:
583:
584:
585:
586:
587:
588:
589:
590:
591:
592:
593:
594:
595:
596:
597:
598:
599:
600:
601:
602:
603:
604:
605:
606:
607:
608:
609:
610:
611:
612:
613:
614:
615:
616:
617:
618:
619:
620:
621:
622:
623:
624:
625:
626:
627:
628:
629:
630:
631:
632:
633:
634:
635:
636:
637:
638:
639:
640:
641:
642:
643:
644:
645:
646:
647:
648:
649:
650:
651:
652:
653:
654:
655:
656:
657:
658:
659:
660:
661:
662:
663:
664:
665:
666:
667:
668:
669:
670:
671:
672:
673:
674:
675:
676:
677:
678:
679:
680:
681:
682:
683:
684:
685:
686:
687:
688:
689:
690:
691:
692:
693:
694:
695:
696:
697:
698:
699:
700:
701:
702:
703:
704:
705:
706:
707:
708:
709:
710:
711:
712:
713:
714:
715:
716:
717:
718:
719:
720:
721:
722:
723:
724:
725:
726:
727:
728:
729:
730:
731:
732:
733:
734:
735:
736:
737:
738:
739:
740:
741:
742:
743:
744:
745:
746:
747:
748:
749:
750:
751:
752:
753:
754:
755:
756:
757:
758:
759:
760:
761:
762:
763:
764:
765:
766:
767:
768:
769:
770:
771:
772:
773:
774:
775:
776:
777:
778:
779:
780:
781:
782:
783:
784:
785:
786:
787:
788:
789:
790:
791:
792:
793:
794:
795:
796:
797:
798:
799:
800:
801:
802:
803:
804:
805:
806:
807:
808:
809:
810:
811:
812:
813:
814:
815:
816:
817:
818:
819:
820:
821:
822:
823:
824:
825:
826:
827:
828:
829:
830:
831:
832:
833:
834:
835:
836:
837:
838:
839:
840:
841:
842:
843:
844:
845:
846:
847:
848:
849:
850:
851:
852:
853:
854:
855:
856:
857:
858:
859:
860:
861:
862:
863:
864:
865:
866:
867:
868:
869:
870:
871:
872:
873:
874:
875:
876:
877:
878:
879:
880:
881:
882:
883:
884:
885:
886:
887:
888:
889:
890:
891:
892:
893:
894:
895:
896:
897:
898:
899:
900:
901:
902:
903:
904:
905:
906:
907:
908:
909:
910:
911:
912:
913:
914:
915:
916:
917:
918:
919:
920:
921:
922:
923:
924:
925:
926:
927:
928:
929:
930:
931:
932:
933:
934:
935:
936:
937:
938:
939:
940:
941:
942:
943:
944:
945:
946:
947:
948:
949:
950:
951:
952:
953:
954:
955:
956:
957:
958:
959:
960:
961:
962:
963:
964:
965:
966:
967:
968:
969:
970:
971:
972:
973:
974:
975:
976:
977:
978:
979:
980:
981:
982:
983:
984:
985:
986:
987:
988:
989:
990:
991:
992:
993:
994:
995:
996:
997:
998:
999:
1000:
1001:
1002:
1003:
1004:
1005:
1006:
1007:
1008:
1009:
1010:
1011:
1012:
1013:
1014:
1015:
1016:
1017:
1018:
1019:
1020:
1021:
1022:
1023:
1024:
1025:
1026:
1027:
1028:
1029:
1030:
1031:
1032:
1033:
1034:
1035:
1036:
1037:
1038:
1039:
1040:
1041:
1042:
1043:
1044:
1045:
1046:
1047:
1048:
1049:
1050:
1051:
1052:
1053:
1054:
1055:
1056:
1057:
1058:
1059:
1060:
1061:
1062:
1063:
1064:
1065:
1066:
1067:
1068:
1069:
1070:
1071:
1072:
1073:
1074:
1075:
1076:
1077:
1078:
1079:
1080:
1081:
1082:
1083:
1084:
1085:
1086:
1087:
1088:
1089:
1090:
1091:
1092:
1093:
1094:
1095:
1096:
1097:
1098:
1099:
1100:
1101:
1102:
1103:
1104:
1105:
1106:
1107:
1108:
1109:
1110:
1111:
1112:
1113:
1114:
1115:
1116:
1117:
1118:
1119:
1120:
1121:
1122:
1123:
1124:
1125:
1126:
1127:
1128:
1129:
1130:
1131:
1132:
1133:
1134:
1135:
1136:
1137:
1138:
1139:
1140:
1141:
1142:
1143:
1144:
1145:
1146:
1147:
1148:
1149:
1150:
1151:
1152:
1153:
1154:
1155:
1156:
1157:
1158:
1159:
1160:
1161:
1162:
1163:
1164:
1165:
1166:
1167:
1168:
1169:
1170:
1171:
1172:
1173:
1174:
1175:
1176:
1177:
1178:
1179:
1180:
1181:
1182:
1183:
1184:
1185:
1186:
1187:
1188:
1189:
1190:
1191:
1192:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-02-10 at 12:26:50ID24131029
Tags

coldfusion

,

adobe

Topics

ColdFusion Application Server

,

ColdFusion Studio

Participating Experts
1
Points
0
Comments
4

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Checkbox and radio button
    I would like to know the name of MFC class thats responsible for checkbox and radio button. Thanks
  2. Connecting Checkbox and Radio Controls Output to Separat…
    Seeking Assistance With Connecting Checkbox and Radio Controls to Separate Text Boxes. I have code that sends the contents entered into Textbox1 to Textbox2 (text entered into txtAge1.Text = txtAge.Text): Private Sub btnValidateData1_Click(ByVal sender As System.Object, B...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: Albee_JPosted on 2009-02-10 at 12:31:02ID: 23604965

Oops gave you the wrong action file:

<!--- types: HOME, TPJ, SJ --->
<cfparam name="FORM.NotReceiveName" default="">
<cfparam name="FORM.ReceiveName" default="Error">
<cfparam name="FORM.Receivepub" default="1">
<cfparam name="FORM.DeliveryHome" default="0">
<cfparam name="FORM.DeliveryBusiness" default="0">
<cfparam name="FORM.PrintType" default="">
<cfparam name="FORM.PrintTypeFAB" default="">
<cfparam name="FORM.PrintTypePWT" default="">
<cfparam name="FORM.PrintTypeSTP" default="">
<cfparam name="FORM.Enewsletter_Fabcom" default="0">
<cfparam name="FORM.Enewsletter_TT" default="0">
<cfparam name="FORM.Enewsletter_WW" default="0">
<cfparam name="FORM.Enewsletter_SNB" default="0">
<cfparam name="FORM.Outsideusa" default="0">
<cfparam name="FORM.ReceiveVendorEmails" default="0">
<cfparam name="FORM.FaxLine" default="">
<cfparam name="FORM.PhoneLine" default="">
<cfparam name="FORM.FirstName" default="">
<cfparam name="FORM.LastName" default="">
<cfparam name="FORM.CompanyName" default="">
<cfparam name="FORM.CompanyAddress" default="">
<cfparam name="FORM.CompanyAddress2" default="">
<cfparam name="FORM.CompanyCity" default="">
<cfparam name="FORM.CompanyState" default="">
<cfparam name="FORM.CompanyZip" default="">
<cfparam name="FORM.CompanyCountry" default="">
<cfparam name="FORM.Email" default="">
<cfparam name="FORM.EndProduct" default="">
<cfparam name="FORM.PriorityCode" default="">
<cfparam name="FORM.InterestArea" default="">
<cfparam name="FORM.BuySpecifyApprove" default="">
<cfparam name="FORM.Buy" default="">
<cfparam name="FORM.Employees" default="">
<cfparam name="FORM.CompanyType" default="">
<cfparam name="FORM.BPA_City" default="">
<cfparam name="FORM.JobFunction" default="">
<cfparam name="FORM.WeldBusiness" default="">
<cfparam name="FORM.PhoneAreaCode" default="">
<cfparam name="FORM.FaxAreaCode" default="">
<cfparam name="FORM.IntPhone" default="">
<cfparam name="FORM.IntFax" default="">
<cfparam name="IndivPhoneNumb" default="">
<cfparam name="IndivPhoneArea" default="">
<cfparam name="IndivFaxArea" default="">
<cfparam name="IndivFaxNumb" default="">
<cfparam name="FaxArea" default="">
<cfparam name="FaxNumb" default="">
<cfparam name="PhoneArea" default="">
<cfparam name="PhoneNumb" default="">
<cfparam name="FORM.Referer" default="">


<cfif FORM.Enewsletter_Fabcom EQ 1>
<cfset Enewsletter_Fabcom = "Y">
<cfelse>
<cfset Enewsletter_Fabcom = "N">
</cfif>
<cfif FORM.Enewsletter_TT EQ 1>
<cfset Enewsletter_TT = "Y">
<cfelse>
<cfset Enewsletter_TT = "N">
</cfif>
<cfif FORM.Enewsletter_WW EQ 1>
<cfset Enewsletter_WW = "Y">
<cfelse>
<cfset Enewsletter_WW = "N">
</cfif>
<cfif FORM.Enewsletter_SNB EQ 1>
<cfset Enewsletter_SNB = "Y">
<cfelse>
<cfset Enewsletter_SNB = "N">
</cfif>
<cfif FORM.ReceiveVendorEmails EQ 1>
<cfset ReceiveVendorEmails = "Y">
<cfelse>
<cfset ReceiveVendorEmails = "N">
</cfif>


<cfif FORM.PhoneLine EQ "Direct">
<!--- PHONE DIRECT is TRUE --->
<cfif FORM.PhoneAreaCode NEQ "">
<!--- Phone area code present --->
      <cfset IndivPhoneArea = FORM.PhoneAreaCode>
      <cfset IndivPhoneNumb = FORM.Phoneprefix&'-'&FORM.PhoneSuffix>
      <cfset PhoneArea = " ">
      <cfset PhoneNumb = " ">
<cfelse>
<!--- Phone area code not present --->
      <cfset IndivPhoneArea = " ">
      <cfif FORM.IntPhone NEQ "">
            <cfset IndivPhoneNumb = FORM.IntPhone>
      <cfelse>
            <cfset IndivPhoneNumb = " ">
      </cfif>
      <cfset PhoneArea = " ">
      <cfset PhoneNumb = " ">
</cfif>      

<cfelseif FORM.PhoneLine EQ "Company">
<!--- PHONE COMPANY is TRUE --->
<cfif FORM.PhoneAreaCode NEQ "">
<!--- Phone area code present --->
      <cfset IndivPhoneArea = " ">
      <cfset IndivPhoneNumb = " ">
      <cfset PhoneArea = FORM.PhoneAreaCode>
      <cfset PhoneNumb = FORM.Phoneprefix&'-'&FORM.PhoneSuffix>
<cfelse>
<!--- Phone area code not present --->
      <cfset IndivPhoneArea = " ">
      <cfset IndivPhoneNumb = " ">
      <cfset PhoneArea = " ">
      <cfif FORM.IntPhone NEQ "">
            <cfset PhoneNumb = FORM.IntPhone>
      <cfelse>
            <cfset PhoneNumb = " ">
      </cfif>
</cfif>      
</cfif>

<cfif FORM.FaxLine EQ "Direct">
<!--- Fax DIRECT is TRUE --->
<cfif FORM.FaxAreaCode NEQ "">
<!--- Fax area code present --->
      <cfset IndivFaxArea = FORM.FaxAreaCode>
      <cfset IndivFaxNumb = FORM.Faxprefix&'-'&FORM.FaxSuffix>
      <cfset FaxArea = " ">
      <cfset FaxNumb = " ">
<cfelse>
<!--- Fax area code not present --->
      <cfset IndivFaxArea = " ">
      <cfif FORM.IntFax NEQ "">
            <cfset IndivFaxNumb = FORM.IntFax>
      <cfelse>
            <cfset IndivFaxNumb = " ">
      </cfif>
      <cfset FaxArea = " ">
      <cfset FaxNumb = " ">
</cfif>      

<cfelseif FORM.FaxLine EQ "Company">
<!--- Fax COMPANY is TRUE --->
<cfif FORM.FaxAreaCode NEQ "">
<!--- Fax area code present --->
      <cfset IndivFaxArea = " ">
      <cfset IndivFaxNumb = " ">
      <cfset FaxArea = FORM.FaxAreaCode>
      <cfset FaxNumb = FORM.Faxprefix&'-'&FORM.FaxSuffix>
<cfelse>
<!--- Fax area code not present --->
      <cfset IndivFaxArea = " ">
      <cfset IndivFaxNumb = " ">
      <cfset FaxArea = " ">
      <cfif FORM.IntFax NEQ "">
            <cfset FaxNumb = FORM.IntFax>
      <cfelse>
            <cfset FaxNumb = " ">
      </cfif>
</cfif>      
</cfif>
<cftransaction>



<cfloop list="#FORM.ReceiveName#" index="i" delimiters=",">
<cfquery datasource="FCData" name="INSERT_Subscription">
INSERT INTO tSubscriptions(
SubscriptionDate,
ReceivePub,
Pub,
PrintType,
FirstName,
LastName,
CompanyName,
CompanyAddress,
CompanyAddress2,
CompanyCity,
CompanyState,
CompanyZip,
CompanyCountry,
DeliveryHome,
DeliveryBusiness,
PhoneLine,
FaxLine,
Email,
EndProduct,
PriorityCode,
InterestArea,
BuySpecifyApprove,
JobFunction,
WeldBusiness,
Employees,
CompanyType,
Enewsletter_Fabcom,
Enewsletter_TT,
Enewsletter_WW,
Enewsletter_SNB,
ReceiveVendorEmails,
BPA_City,
IndivFaxArea,
IndivFaxNumb,
FaxArea,
FaxNumb,
IndivPhoneArea,
IndivPhoneNumb,
PhoneArea,
Referer,
<cfif IsDefined('SESSION.NameID')>
NameID,
</cfif>
PhoneNumb
)
VALUES (
#CreateODBCDateTime(Now())#,
#FORM.ReceivePub#,
'#i#',
<cfif i EQ "PWT" AND IsDefined('FORM.PrintTypePWT')>
'#FORM.PrintTypePWT#',
<cfelseif i EQ "FAB" AND IsDefined('FORM.PrintTypeFAB')>
'#FORM.PrintTypeFAB#',
<cfelseif i EQ "SJ" AND IsDefined('FORM.PrintTypeSTP')>
'#FORM.PrintTypeSTP#',
<cfelse>
'Print',
</cfif>
'#FORM.FirstName#',
'#FORM.LastName#',
'#FORM.CompanyName#',
'#FORM.CompanyAddress#',
'#FORM.CompanyAddress2#',
'#FORM.CompanyCity#',
'#FORM.CompanyState#',
'#FORM.CompanyZip#',
'#FORM.CompanyCountry#',
#FORM.DeliveryHome#,
#FORM.DeliveryBusiness#,
'#FORM.PhoneLine#',
'#FORM.FaxLine#',
'#FORM.Email#',
'#FORM.EndProduct#',
'#FORM.PriorityCode#',
'#ListSort(FORM.InterestArea,"Numeric", "ASC")#',
'#FORM.BuySpecifyApprove#',
'#FORM.JobFunction#',
'#FORM.WeldBusiness#',
'#FORM.Employees#',
'#FORM.CompanyType#',
'#Enewsletter_Fabcom#',
'#Enewsletter_TT#',
'#Enewsletter_WW#',
'#Enewsletter_SNB#',
'#ReceiveVendorEmails#',
'#FORM.BPA_City#',
'#IndivFaxArea#',
'#IndivFaxNumb#',
'#FaxArea#',
'#FaxNumb#',
'#IndivPhoneArea#',
'#IndivPhoneNumb#',
'#PhoneArea#',
'#FORM.Referer#',
<cfif IsDefined('SESSION.NameID')>
#SESSION.NameID#,
</cfif>
'#PhoneNumb#'
)
</cfquery>
</cfloop>



</cftransaction>
<cfif FORM.Email CONTAINS "AOL.COM" OR FORM.Email CONTAINS "hotmail.com" OR FORM.Email CONTAINS "msn.com">

 
<cfmail to="#FORM.Email#"
            from="info@thefabricator.com"
            subject="Newsletters from thefabricator.com"
            type="html"
            >
<table cellpadding="3" cellspacing="0" width="550" border="0">
<tr>
<td>Dear #FORM.FirstName#: <br/><br/>

<p>Please be sure to whitelist <b>newsletters@thefabricator.com</b> to insure continued delivery.</p>
 
<p>Thank you,  <br/>
FMA Communications, Inc.</p>
</td>
</tr>
</table>
</cfmail>            
</cfif>
<cf_FMAC-Header>
<cf_SecondNav page="Subscribers">
<!-- InstanceEndEditable -->
<div id="content">
<!-- InstanceBeginEditable name="content" -->

<cfif #FORM.ReceiveName# EQ "Error" AND #FORM.NotReceiveName# EQ "">
  <p class="bodytext">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Oops. You did not select a <b>Publication</b> please <a href="javascript:history.go(-1)">click here</a> and check <b>Yes</b> next to the publication of your choice.<br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:history.go(-1)"><b>Back up</b></a></p>
<cfelse>

<h1>Thank you!</h1>

<ul>
  <li><a href="http://www.fma-communications.com/Subscriptions.cfm"> Subscribe </a> to another FMA Communications, Inc. publication. </li>
  <li>Invite a colleague to subscribe --<a href="http://www.fma-communications.com/SendtoaFriend_FMAC/Send_to_a_friend.cfm?PUB=SJ">  click here </a> to email the subscription page. </li>
</ul>
<h2> Search our:</h2>
<ul>
  <li>  <a href="http://www.thefabricator.com/Article_Archive/Article_Archive.cfm">Article  Archive</a> </li>
  <li><a href="http://www.ffid.net">Industry Supplier Directory </a></li>
  <li><a href="http://www.thefabricator.com/classified"> Classifieds </a></li>
  <li><a href="https://www.fmanet.org/FMAstore/index.cfm"> FMA Book Store </a></li>
  <li><a href="http://www.thefabricator.com/Buyers-Guides.cfm"> Searchable  Buyers' Guides </a></li>
  <li><a href="http://www.fmanet.org/JobBoard/Main.cfm"> Job Board </a></li>
  <li><a href="http://www.fmafabtech.com"> FABTECH&reg; International </a></li>
  <li><a href="http://www.fmanet.org/Conferences/Conference-Calendar.cfm"> Conference  Schedules </a></li>
  <li><a href="http://www.fmanet.org/Membership/FMA-Membership.cfm"> FMA </a> &amp; <a href="http://www.fmanet.org/Membership/FMA-Membership.cfm"> TPA  </a> Membership Information</li>
  <li><a href="http://www.fma-communications.com"> Advertising opportunities </a> <br />
  </li>
</ul>
</ul>            
            <cfif IsDefined("SESSION.ArticleID")>
                  <table width="550" align="center">
                    <tr>
                      <td width="50"></td>
                      <td align="center">
                        <table width="450" border="2"  cellpadding="0" cellspacing= "0" bordercolor="#AABBD8" align="center">
                    <tr>
                      <td align="center"><br/><cfoutput><span class="homepghead">You may now view the Subscriber Only Content.</span> <br/><cfset SESSION.LoggedGood = 1>
                             
              Click <a href="http://www.thefabricator.com/Articles/Subscriber_Content.cfm?ID=#SESSION.ArticleID#&New=Yes">here</a> to read the article.</cfoutput> <br/></td>
                    </tr>
                          </table></td>
                      <td width="50"></td>
                  </tr>
                </table></cfif>
                  <p><b>Tell us your ideas<br/>
            </b>Our staff is always eager to hear <a href="mailto:vickib@thefabricator.com?Subject=thefabricator.com%20article%20proposalv">article proposals</a> and other <a href="mailto:webmaster@thefabricator.com?Subject=thefabricator.com%20site%20suggestions">site suggestions</a> from industry professionals. If your company has made new strides in your fabrication process, we want to hear the keys to your success. We may feature your company in an upcoming issue.</p>
            <p><b>thefabricator.com</b><br/>
              Vicki Bell, Web Content Manager<br/>
            833 Featherstone Rd.<br/>
            Rockford, IL 61107<br/>
            fax: 815-381-1370<br/>
            e-mail:<a href="mailto:vickib@thefabricator.com">vickib@thefabricator.com</a></p>          </td>
        </tr>
      </table></cfif>


<!-- InstanceEndEditable --></div>

<!-- InstanceBeginEditable name="footer" -->

<cfif CGI.REMOTE_ADDR EQ "216.124.168.3">
    <cfdump var="#FORM#" expand="no"/>
</cfif>


<cfif FORM.PrintTypeFAB EQ "Digital" OR FORM.PrintTypePWT EQ "Digital" >

<cfscript>
            SESSION.ReceiveName = FORM.ReceiveName;
        SESSION.Email = FORM.Email;
        SESSION.firstname = FORM.firstname;
        SESSION.lastname = FORM.lastname;
    </cfscript>
     
 <cflocation addtoken="no" url="Digital-Thankyou.cfm">
  </cfif>

 

by: duncancummingPosted on 2009-02-10 at 12:33:09ID: 23604992

Personally I'd just make one of the two options selected by default.

<cfinput type="radio" name="PrintTypeFAB" value="Print" checked /> Print Version &nbsp;
<cfinput type="radio" name="PrintTypeFAB" value="Digital" /> Digital Version <br />

 

by: Albee_JPosted on 2009-02-10 at 12:46:07ID: 23605146

Ah I c.

I ended up adding this line of code...

<cfelseif #FORM.PrintType# EQ "">
  <p class="bodytext">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Oops. You did not select a <strong>Print Type </strong>please <a href="javascript:history.go(-1)">click here</a> and select <b>Print or Digital</b> next to the publication of your choice.<br />
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:history.go(-1)"><b>Back up</b></a></p>
<cfelse>

 

by: Albee_JPosted on 2009-02-20 at 09:49:00ID: 23694361

solved on my own.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...