Avatar of LelloLello
LelloLello
 asked on

if (document.SubmitRegistration.intOption[i1].checked==true)

What this line do in my code?
if (document.SubmitRegistration.intOption[i1].checked==true)  

Right now i have two option.
Fellows, Affiliates or Correspondents of an actuarial organization or CFA members   100.00*
 
Associates of an actuarial organization   $525*
Please see on that page:
http://209.217.127.200/jp/registration_13_e_.cfm 

If i take out this line 'Associates of an actuarial organization   $525* ' my form calculations will not work... See i took that line (Associates of an actuarial organization   $525*  
) on that page and is not working.
https://209.217.127.200/jp/registration_14_e_.cfm

function Calculate_Sub_Total(me)
		{
			var total=0;
			document.SubmitRegistration.intSubTotal.value=0;
			document.SubmitRegistration.intGST.value=0;	
			document.SubmitRegistration.intTotal.value=0;		
			


			intProv_err = 1;
			taxlable = document.SubmitRegistration.taxlable;
			strProvince = document.SubmitRegistration.strProvince;
			province_array = new Array();
			province_array[0] = new Array("British Columbia","HST", .12, "Add 12% HST");
			province_array[1] = new Array("New Brunswick","HST", .13,"Add 13% HST");
			province_array[2] = new Array("New Foundland and Labrador", "HST", .13, "ADD 13% HST");
			province_array[3] = new Array("Nova Scotia", "HST", 0.15, "ADD 15% HST");
			province_array[4] = new Array("Ontario", "HST", 0.13, "ADD 13% HST");
			province_array[5] = new Array("Alberta", "GST", 0.05, "ADD 5% GST");
			province_array[6] = new Array("Manitoba", "GST", 0.05, "ADD 5% GST");
			province_array[7] = new Array("Prince Edward Island", "GST", 0.05, "ADD 5% GST");
			province_array[8] = new Array("Quebec", "GST", 0.05, "ADD 5% GST");
			province_array[9] = new Array("Saskatchewan", "GST", 0.05, "ADD 5% GST");
			province_array[10] = new Array("North West Territories", "GST", 0.05, "ADD 5% GST");
			province_array[11] = new Array("Yukon", "GST", 0.05, "ADD 5% GST");
			province_array[12] = new Array("Nunavut", "GST", 0.05, "ADD 5% GST");

			
			

			
			//lets do a bit of validation because we need to know the province before we can accuratly calculate
			// the tax on the form.
			
			for(x in province_array) {
				if(province_array[x][0] == strProvince.options[strProvince.selectedIndex].value) intProv_err = 0;
			}
			
			
			
			if(strProvince.options[strProvince.selectedIndex].value == '' || intProv_err  == 1 ) {
				alert("Please complete your address information");
				strProvince.focus();
				if(me.checked)
				{
					me.checked = false;
				} else {
					me.value = '';
				}
				return false;
			} else {

			}
			
	
			
			for (i1=0; i1<6; i1++) 
			{
			

				if (total == 0)
				{
					if (document.SubmitRegistration.intOption[i1].checked==true) 
					{
						//((i1 == 0) || (i1 == 1) || (i1 == 3)) && 
						//if (todaydate <= discountdate) 
						//{
						//	document.SubmitRegistration.intSave.checked = false;
						//}
						//else{
						//	if(i1 == 2 || i1 == 3){
						//		document.SubmitRegistration.intSave.checked = false;															
						//	}else{
							//	document.SubmitRegistration.intSave.checked = true;	
							//}
						//}
						total = document.SubmitRegistration.intOption[i1].value;
					}
				}
			}
			
			//if (document.SubmitRegistration.intSave.checked ==true)
			//{
			//	total = eval(eval(total)+eval(document.SubmitRegistration.intSave.value));
			//}
			
			
			//lets figure out what tax this province is going to use
			/* Modified this morning fltTax = 0.13 */
			
			tax_label = '';
			strProvince_name = strProvince.options[strProvince.selectedIndex].value;
			
			
			for(x in province_array) {
			
				if(province_array[x][0] == strProvince_name) {
					fltTax = parseFloat(province_array[x][2]);
					tax_label = province_array[x][3];
				
				}
			
			}
			
			document.getElementById('taxlabel').innerHTML = tax_label;
			
			document.SubmitRegistration.intSubTotal.value=ToDollarsAndCents(total);
			document.SubmitRegistration.intGST.value= ToDollarsAndCents(eval(total*fltTax));
		 	document.SubmitRegistration.intGSTNumber.value=trimString(document.SubmitRegistration.intGSTNumber.value);
		 	
			if (document.SubmitRegistration.intGSTNumber.value.length == 0) 
			{
				document.SubmitRegistration.intTotal.value=ToDollarsAndCents(eval(eval(document.SubmitRegistration.intSubTotal.value) + eval(document.SubmitRegistration.intGST.value)));
		 	}
			else
			{
				document.SubmitRegistration.intTotal.value=document.SubmitRegistration.intSubTotal.value;	
				document.SubmitRegistration.intGST.value="";		
			}
		
		}
		
		function CheckRadioButton(obj)
		{
			for (i=0; i < obj.length; i++)
			{
				if (obj[i].checked)
					return true;
			}
		   	return false;	
		}
		
		function isInteger(s) 
		{
			for (var i = 0; i < s.length; i++) 
			{
				var c = s.charAt(i);
				if (!((c >= "0") && (c <= "9"))) 
				{
					return false;
				}
			}
			return true;
		}
		
		function trimString (str) 
		{
			str = this != window? this : str;
			return str.replace(/^\s+/g, '').replace(/\s+$/g, '');
		}
		

Open in new window



<table border="0" cellspacing="0" cellpadding="0" width="100%">
					<tr>
						<td width="98%" valign="top"><label for="intOption575">Fellows, Affiliates or Correspondents of an actuarial organization or CFA members</label></td>
						<td width="1%"><cfoutput><cfset intRate = int(val(getRates.rate))>
<input type="radio" name="intOption" id="intOption575" value="#intRate#"  onClick="Calculate_Sub_Total(this)" class="formWidget"></cfoutput></td>
						<td width="5"><img src="images/spacer.gif" height="1" width="5" border="0" alt=""></td>
						<td width="1%" nowrap><label for="intOption575"><cfoutput query="getrates">#getRates.rate#</cfoutput></label><span class="asterisk">*</span></td>
					</tr>
					<!--<tr><td colspan="4"><img src="images/spacer.gif" height="6" width="1" border="0" alt=""></td></tr>
					<tr>
						<td valign="top"><label for="intOption525">Associates of an actuarial organization</label></td>
						<td><input type="radio" name="intOption" id="intOption525" value="525" onClick="Calculate_Sub_Total(this)" class="formWidget"></td>
						<td width="5"><img src="images/spacer.gif" height="1" width="5" border="0" alt=""></td>
						<td nowrap><label for="intOption525">$525</label><span class="asterisk">*</span></td>
					</tr>
					<tr><td colspan="4"><img src="images/spacer.gif" height="6" width="1" border="0" alt=""></td></tr>-->

Open in new window

ColdFusion Language

Avatar of undefined
Last Comment
LelloLello

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Sudhindra A N

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Sudhindra A N

here is the complete html

 

	

	



	



	

	



	

		

	















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



<html>



<head>

	<title>CIA Network (CIANET) Subscription | Fees & Application Forms | Membership & Education | Canadian Institute of Actuaries</title>

    

<script language="JavaScript">

		<!--

		

		var todaydate = new Date();

	

		var discountdate = new Date();

		discountdate.setMonth('09');

		discountdate.setDate('13');

		discountdate.setYear('2012');



		function ToDollarsAndCents(n) 

		{

			var s = "" + Math.round(n * 100) / 100

		    var i = s.indexOf('.')

		    if (i < 0)

		    	return s + ".00"

		    var t = s.substring(0, i + 1) + s.substring(i + 1, i + 3)

		    if (i + 2 == s.length)

		    	t += "0"

		    return t;

		}

		

		function Calculate_Sub_Total(me)

		{

			var total=0;

			document.SubmitRegistration.intSubTotal.value=0;

			document.SubmitRegistration.intGST.value=0;	

			document.SubmitRegistration.intTotal.value=0;		

			





			intProv_err = 1;

			taxlable = document.SubmitRegistration.taxlable;

			strProvince = document.SubmitRegistration.strProvince;

			province_array = new Array();

			province_array[0] = new Array("British Columbia","HST", .12, "Add 12% HST");

			province_array[1] = new Array("New Brunswick","HST", .13,"Add 13% HST");

			province_array[2] = new Array("New Foundland and Labrador", "HST", .13, "ADD 13% HST");

			province_array[3] = new Array("Nova Scotia", "HST", 0.15, "ADD 15% HST");

			province_array[4] = new Array("Ontario", "HST", 0.13, "ADD 13% HST");

			province_array[5] = new Array("Alberta", "GST", 0.05, "ADD 5% GST");

			province_array[6] = new Array("Manitoba", "GST", 0.05, "ADD 5% GST");

			province_array[7] = new Array("Prince Edward Island", "GST", 0.05, "ADD 5% GST");

			province_array[8] = new Array("Quebec", "GST", 0.05, "ADD 5% GST");

			province_array[9] = new Array("Saskatchewan", "GST", 0.05, "ADD 5% GST");

			province_array[10] = new Array("North West Territories", "GST", 0.05, "ADD 5% GST");

			province_array[11] = new Array("Yukon", "GST", 0.05, "ADD 5% GST");

			province_array[12] = new Array("Nunavut", "GST", 0.05, "ADD 5% GST");



			

			



			

			//lets do a bit of validation because we need to know the province before we can accuratly calculate

			// the tax on the form.

			

			for(x in province_array) {

				if(province_array[x][0] == strProvince.options[strProvince.selectedIndex].value) intProv_err = 0;

			}

			

			

			

			if(strProvince.options[strProvince.selectedIndex].value == '' || intProv_err  == 1 ) {

				alert("Please complete your address information");

				strProvince.focus();

				if(me.checked)

				{

					me.checked = false;

				} else {

					me.value = '';

				}

				return false;

			} else {



			}

			

			/*console.log("actual Element : "+document.SubmitRegistration.intOption);
			console.log("0 Element : "+document.SubmitRegistration.intOption[0]);
			console.log("1 Element : "+document.SubmitRegistration.intOption[1]);
			console.log("2 Element : "+document.SubmitRegistration.intOption[2]);
			console.log("3 Element : "+document.SubmitRegistration.intOption[3]);
			console.log("4 Element : "+document.SubmitRegistration.intOption[4]);
			console.log("5 Element : "+document.SubmitRegistration.intOption[5]);*/
			
			if(total == 0) {
				total = document.SubmitRegistration.intOption.value; }

			/*for (i1=0; i1<6; i1++) 

			{

			



				if (total == 0)

				{

					if (document.SubmitRegistration.intOption[i1].checked==true) 

					{

						//((i1 == 0) || (i1 == 1) || (i1 == 3)) && 

						//if (todaydate <= discountdate) 

						//{

						//	document.SubmitRegistration.intSave.checked = false;

						//}

						//else{

						//	if(i1 == 2 || i1 == 3){

						//		document.SubmitRegistration.intSave.checked = false;															

						//	}else{

							//	document.SubmitRegistration.intSave.checked = true;	

							//}

						//}

						total = document.SubmitRegistration.intOption[i1].value;

					}

				}

			}*/

			

			//if (document.SubmitRegistration.intSave.checked ==true)

			//{

			//	total = eval(eval(total)+eval(document.SubmitRegistration.intSave.value));

			//}

			

			

			//lets figure out what tax this province is going to use

			/* Modified this morning fltTax = 0.13 */

			

			tax_label = '';

			strProvince_name = strProvince.options[strProvince.selectedIndex].value;

			

			

			for(x in province_array) {

			

				if(province_array[x][0] == strProvince_name) {

					fltTax = parseFloat(province_array[x][2]);

					tax_label = province_array[x][3];

				

				}

			

			}

			

			document.getElementById('taxlabel').innerHTML = tax_label;

			

			document.SubmitRegistration.intSubTotal.value=ToDollarsAndCents(total);

			document.SubmitRegistration.intGST.value= ToDollarsAndCents(eval(total*fltTax));

		 	document.SubmitRegistration.intGSTNumber.value=trimString(document.SubmitRegistration.intGSTNumber.value);

		 	

			if (document.SubmitRegistration.intGSTNumber.value.length == 0) 

			{

				document.SubmitRegistration.intTotal.value=ToDollarsAndCents(eval(eval(document.SubmitRegistration.intSubTotal.value) + eval(document.SubmitRegistration.intGST.value)));

		 	}

			else

			{

				document.SubmitRegistration.intTotal.value=document.SubmitRegistration.intSubTotal.value;	

				document.SubmitRegistration.intGST.value="";		

			}

		

		}

		

		function CheckRadioButton(obj)

		{

			for (i=0; i < obj.length; i++)

			{

				if (obj[i].checked)

					return true;

			}

		   	return false;	

		}

		

		function isInteger(s) 

		{

			for (var i = 0; i < s.length; i++) 

			{

				var c = s.charAt(i);

				if (!((c >= "0") && (c <= "9"))) 

				{

					return false;

				}

			}

			return true;

		}

		

		function trimString (str) 

		{

			str = this != window? this : str;

			return str.replace(/^\s+/g, '').replace(/\s+$/g, '');

		}

		

		function ValidateForm()

		{

			var strFields = ""; strField = ""; strtCR = "\n\r";

			var boolOne = false; 

			var onefield, boolChecked, i, strMsg; 

			

			var strFirstName=eval("document.SubmitRegistration.strFirstName");	

			var strEmail=eval("document.SubmitRegistration.strEmail");			

			var intPaymentType=eval("document.SubmitRegistration.intPaymentType");				

			var intCardNo=eval("document.SubmitRegistration.intCardNo");	

			var intExpirationDate=eval("document.SubmitRegistration.intExpirationDate");			

			var strCardName=eval("document.SubmitRegistration.strCardName");	

			var intTotal=eval("document.SubmitRegistration.intTotal");		

			var intOption=eval("document.SubmitRegistration.intOption");

			var strCAPTCHA=eval("document.SubmitRegistration.strCAPTCHA");

			var strAddress = eval("document.SubmitRegistration.strAddress");

			var strCity = eval("document.SubmitRegistration.strCity");

			var strProvince = eval("document.SubmitRegistration.strProvince");

			var strCountry = eval("document.SubmitRegistration.strCountry");

			var strPostal  = eval("document.SubmitRegistration.strPostal");

			

			

			

			//Mandatory fields

			if (strFirstName.value.length < 1)

			{

				strFields = strFields + "First Name"  + strtCR;

				if (boolOne == false) 

					{

						onefield = strFirstName;	

					}					

				boolOne = true;

			}				

			if (strAddress.value == '' ) {

				strFields = strFields + "Street Address "  + strtCR;

				if (boolOne == false) 

					{

						onefield = strAddress;	

					}					

				boolOne = true;

			}

			if (strCity.value == '' ) {

				strFields = strFields + "City "  + strtCR;

				if (boolOne == false) 

					{

						onefield = strCity;	

					}					

				boolOne = true;

			}

			if (strPostal.value == '' ) {

				strFields = strFields + "Postal Code "  + strtCR;

				if (boolOne == false) 

					{

						onefield = strPostal;	

					}					

				boolOne = true;

			}

			if (strProvince.value == '' ) {

				strFields = strFields + "Province "  + strtCR;

				if (boolOne == false) 

					{

						onefield = strProvince;	

					}					

				boolOne = true;

			}

			





			

			if (strEmail.value.length < 1)

			{

				strFields = strFields + "Email"  + strtCR;

				if (boolOne == false) 

					{

						onefield = strEmail;

							

					}					

				boolOne = true;

			}

			if (strCAPTCHA.value.length < 1)

			{

				strFields = strFields + "Write the characters in the image above "  + strtCR;

				if (boolOne == false) 

					{

						onefield = strCAPTCHA;	

					}					

				boolOne = true;

			}										

		

			if (boolOne == true) 

			{

				alert("Please enter information in the following fields: " + strtCR + strtCR + strFields);		

				onefield.focus();

				return false;

			}	

				

			if (CheckRadioButton(intPaymentType) == false)

			{

				alert("Please select a payment type for your registration");

				intPaymentType[0].focus();

				return false;

			}		

	

			if (intTotal.value.length == 0  || intTotal.value <=0)

			{

				alert("Please select a registration option.");	

				return false;

			}			

				



			

	      if (intPaymentType[0].checked || intPaymentType[1].checked || intPaymentType[2].checked)

			{

				intCardNo.value=trimString(intCardNo.value); 

				intExpirationDate.value=trimString(intExpirationDate.value);

				strCardName.value=trimString(strCardName.value);

					

				if (intCardNo.value.length == 0 || !isInteger(intCardNo.value)) 

				{

					alert("Please enter a valid credit Card Number");	

					intCardNo.focus();											

					return false;

			 	}

		

				//var card = document.getElementById('cardNum').value;

						

		

				if (intExpirationDate.value.length == 0 || intExpirationDate.value.length < 4 || !isInteger(intExpirationDate.value))

				{

					alert("Please enter a valid credit card expiration date (MMYY)");					

					intExpirationDate.focus();						

					return false;

				}

		 

				expiry_date_month = intExpirationDate.value.substring(0,2);

				expiry_date_year = intExpirationDate.value.substring(2,4);					

		

				if (expiry_date_month ==0 || expiry_date_month >12 || expiry_date_year <1)

				{

					alert("Please enter a valid credit card expiration date (MMYY)");					

					intExpirationDate.focus();						

					return false;

				}

									

				if (strCardName.value.length ==0)

				{

					alert("Please enter the credit card holder name");	

					strCardName.focus();										

					return false;

				}		

						

			}

		

	 		document.SubmitRegistration.submit();

		}	

		

		//-->

		</script>



</head>



<body>











<table align="center" border="0" cellpadding="0" cellspacing="0" width="1001">

<tr valign="top">

	<td width="17"><img src="../images/spacer.gif" alt="" width="17" height="1" border="0"></td>

	<td width="225" id="leftnav">

		<img src="../images/wrapper/options-spacer1.gif" alt="" width="225" height="21" border="0"><br>

		<img src="../images/wrapper/leftnav-top.gif" alt="" width="225" height="10" border="0"><br>



		<img src="../images/spacer.gif" alt="" width="1" height="2" border="0"><br>

		<img src="../images/wrapper/leftnav-bottom.gif" alt="" width="225" height="79" border="0"></td>

	<td width="36"><img src="../images/wrapper/options-spacer1.gif" alt="" width="36" height="21" border="0"></td>

	<td width="464">



		<div id="breadcrumbs">







		</div>

		<div id="print-content">



		<h1>Membership & Education</h1>

		<h2>CIA Network (CIANET) Subscription</h2>

		<h3>The annual subscription fee for CIANET is $100<br>(pro-rated quarterly)</h3>

<p align="justify">The CIA Network was created in 2012 for individuals who do not qualify.....</p>

<p align="left">To subscribe to CIANET, please complete the following. (each field is mandatory): </p>

<form action="registration_confirmation_14_e.cfm" method="post" name="SubmitRegistration">



					

                    

                    

                    	<fieldset><legend>Delegate Information</legend>

					<br>

					<table border="0" cellspacing="0" cellpadding="0" width="100%">

					

                            

							

                            

                            

                        

              

                            

                     

                    

                    

                    

                    <tr><td colspan="2">&nbsp;</td></tr>

					<tr>

						<td width="26%" >

							<label for="strFirstName"><strong>First Name:</strong></label><br>

							<input type="text" name="strFirstName" id="strFirstName" value="" maxlength="255" size="30" style="width: 215px;">

						</td>

						<td >

							<label for="strLastName"><strong>Last Name:</strong></label><br>

							<input type="text" name="strLastName" id="strLastName" value="" maxlength="255" size="30" style="width: 215px;">

						</td>



					</tr>

                    

                    

					<tr><td colspan="2">&nbsp;</td></tr>

					<tr>

						<td width="100%" colspan="2">

							<label for="strCompany"><strong>Company:</strong></label><br>

							<input type="text" name="strCompany" id="strCompany" value="" maxlength="255" size="30" style="width: 430px;">

						</td>

					</tr>

					<tr><td colspan="2">&nbsp;</td></tr>

					<tr>

						<td width="100%" colspan="2">

							<label for="strAddress"><strong>Street Address:</strong></label><br>

							<input type="text" name="strAddress" id="strAddress" value="" maxlength="255" size="30" style="width: 430px;">

						</td>

					</tr>

					<tr><td colspan="2">&nbsp;</td></tr>

					<tr>

						<td width="26%">

							<label for="strCity"><strong>City:</strong></label><br>

							<input type="text" name="strCity" id="strCity" value="" maxlength="100" size="30" style="width: 215px;">

						</td>

						<td>

							<label for="strCity"><strong>Province:</strong></label><br>

											<select name="strProvince" style="width: 215px;" onChange="Calculate_Sub_Total(document.getElementById('strCity'))">

												<option value="">&nbsp;</option>

												<option value="Alberta">Alberta</option>

												<option value="British Columbia">British Columbia</option>

												<option value="Manitoba">Manitoba</option>

												<option value="New Brunswick">New Brunswick</option>

												<option value="New Foundland and Labrador">New Foundland and Labrador</option>

												<option value="North West Territories">North West Territories</option>

												<option value="Nova Scotia">Nova Scotia</option>

												<option value="Nunavut">Nunavut</option>

												<option value="Ontario">Ontario</option>

												<option value="Prince Edward Island">Prince Edward Island</option>

												<option value="Quebec">Quebec</option>

												<option value="Saskatchewan">Saskatchewan</option>

												<option value="Yukon">Yukon</option>

											</select>

						</td>

					</tr>

					<tr><td colspan="2">&nbsp;</td></tr>

					<tr>

						<td width="26%" >

							<label for="strAddress"><strong>Country:</strong></label><br>

							<input type="text" name="strCountry" id="strCountry" value="" maxlength="100" size="30" style="width: 215px;">

						</td>

						<td >

							<label for="strPostal"><strong>Postal Code:</strong></label><br>

							<input type="text" name="strPostal" id="strPostal" value="" maxlength="100" size="30" style="width: 215px;">

						</td>



					</tr>



						

					</table>

					

					<br>

					

					<table border="0" cellspacing="0" cellpadding="0" width="100%">

					<tr>

						<td width="26%">

							<label for="strPhone"><strong>Telephone:</strong></label><br>

							<input type="text" name="strPhone" id="strPhone" value="" maxlength="255" size="15" style="width: 215px;">

						</td>



						<td>

							<label for="strFax"><strong>Fax:</strong></label><br>

							<input type="text" name="strFax" id="strFax" value="" maxlength="255" size="15" style="width: 215px;">



						</td>

					</tr>

					<tr><td colspan="3">&nbsp;</td></tr>

					<tr>

						<td colspan="3">

							<label for="strEmail"><strong>E-mail:</strong></label><br>

							<input type="text" name="strEmail" id="strEmail" value="" maxlength="255" size="30" style="width: 430px;">

						</td>

					</tr>					

					</table>

					

					<br>

					

					</fieldset>

				

					<br>

					

					

					

					

					

					<fieldset><legend>Registration Fees</legend>

							

					<br>

					

					<table border="0" cellspacing="0" cellpadding="0" width="100%">

					<tr>

						<td width="98%" valign="top"><label for="intOption575">Fellows, Affiliates or Correspondents of an actuarial organization or CFA members</label></td>

						<td width="1%">

<input type="radio" name="intOption" id="intOption575" value="1"  onClick="Calculate_Sub_Total(this)" class="formWidget"></td>

						<td width="5"><img src="images/spacer.gif" height="1" width="5" border="0" alt=""></td>

						<td width="1%" nowrap><label for="intOption575">1.00</label><span class="asterisk">*</span></td>

					</tr>

					<!--<tr><td colspan="4"><img src="images/spacer.gif" height="6" width="1" border="0" alt=""></td></tr>

					<tr>

						<td valign="top"><label for="intOption525">Associates of an actuarial organization</label></td>

						<td><input type="radio" name="intOption" id="intOption525" value="525" onClick="Calculate_Sub_Total(this)" class="formWidget"></td>

						<td width="5"><img src="images/spacer.gif" height="1" width="5" border="0" alt=""></td>

						<td nowrap><label for="intOption525">$525</label><span class="asterisk">*</span></td>

					</tr>

					<tr><td colspan="4"><img src="images/spacer.gif" height="6" width="1" border="0" alt=""></td></tr>-->

					

					

					<tr><td colspan="4"><hr size="1"></td></tr>

					<tr>

						<td valign="top"><strong>Sub Total</strong></td>

						<td>&nbsp;</td>

						<td width="5"><img src="images/spacer.gif" height="1" width="5" border="0" alt=""></td>

						<td nowrap><strong>$</strong><input type="text" name="intSubTotal" value="0.00" maxlength="255" size="6" style="border: 0; background-color: #FFFFFF; font-family: Arial, Heveltica, sans-serif; font-size: 12px; font-weight: bold; width: 55px;" readonly></td>

					</tr>

					<tr><td colspan="4"><img src="images/spacer.gif" height="6" width="1" border="0" alt=""></td></tr>				

					<tr>

						<td valign="top"><span id="taxlabel">Add 13% HST</span> (<strong>106861503RT</strong>)</td>

						<td>&nbsp;</td>

						<td width="5"><img src="images/spacer.gif" height="1" width="5" border="0" alt=""></td>

						<td nowrap>$<input type="text" name="intGST" value="0.00" maxlength="255" size="6" style="border: 0; background-color: #FFFFFF; font-family: Arial, Heveltica, sans-serif; font-size: 12px; width: 55px;" readonly></td>

					</tr>

					<tr><td colspan="4"><img src="images/spacer.gif" height="6" width="1" border="0" alt=""></td></tr>			

					<tr>

						<td valign="top"><strong>Total Amount Due</strong></td>

						<td>&nbsp;</td>

						<td width="5"><img src="images/spacer.gif" height="1" width="5" border="0" alt=""></td>

						<td nowrap><strong>$</strong><input type="text" name="intTotal" value="0.00" maxlength="255" size="6" style="border: 0; background-color: #FFFFFF; font-family: Arial, Heveltica, sans-serif; font-size: 12px; font-weight: bold; width: 55px;" readonly></td>

					</tr>

					<tr><td colspan="4"><img src="images/spacer.gif" height="6" width="1" border="0" alt=""></td></tr>

					<tr>

						<td valign="top" colspan="4">

						<strong>Full payment</strong> is required at the time of registration or your registration will not be processed!

						</td>

					</tr>					

					</table>

					<br>

					

					</fieldset>

					

					<br>

					

					<fieldset><legend>Payment Information</legend>

							

					<br>

					

					<table border="0" cellspacing="0" cellpadding="0" width="100%">

					<tr>

						<td width="80%" valign="top"><strong><em>If you are tax-exempt, please provide tax-exempt number:</em></strong></td>

						<td width="20%"><input type="text" name="intGSTNumber" value="" maxlength="255" size="10" onChange="javascript:Calculate_Sub_Total(this)"></td>

					</tr>

					</table>

					<br>

					All fees/funds are in Canadian Dollars

					<br><br>

                   

					<table border="0" cellspacing="0" cellpadding="0" width="100%">

					<tr>

						<td width="100%" valign="top"><input type="radio" name="intPaymentType" id="intPayment1" value="Amex">&nbsp;&nbsp;<label for="intPayment1">Amex</label></td>

						<td rowspan="4" width="98"><a href="https://servicecenter.verisign.com/cgi-bin/Xquery.exe?Template=authCertByIssuer&remote_host=https://digitalid.soltrus.com/secureServerFr/cgi-bin/haydn.exe&form_file=fdf/authCertByIssuer.fdf&issuerSerial=247655dbf493b3805669579525040320" target="_blank"><img src="images/siteseal_maroon_e.gif" alt="" width="98" height="104" border="0"></a>

					</tr>

					<tr>

						<td width="100%" valign="top"><input type="radio" name="intPaymentType" id="intPayment2" value="VISA">&nbsp;&nbsp;<label for="intPayment2">Visa</label></td>

					</tr>

					<tr>

						<td width="100%" valign="top"><input type="radio" name="intPaymentType" id="intPayment3" value="MC">&nbsp;&nbsp;<label for="intPayment3">MasterCard</label></td>

					</tr>

					</table>

					<br>

					<table border="0" cellspacing="0" cellpadding="0" width="100%">

					<tr>

						<td width="8"><img src="images/spacer.gif" height="1" width="8" border="0" alt=""></td>

						<td width="50%">

							<strong><label for="intCardNo">Card #</label>:</strong><br>

							<input type="text" name="intCardNo" id="intCardNo" value="" maxlength="255" size="30" style="width: 98%">

                            <input type="hidden" name="cardType" id="cardType" value=#left(FORM.intCardNo,1)#>

						</td>

						<td width="25"><img src="images/spacer.gif" height="1" width="25" border="0" alt=""></td>

						<td width="50%">

							<strong><label for="intExpirationDate">Expiration date</label>: (MMYY)</strong><br>

							<input type="text" name="intExpirationDate" id="intExpirationDate" value="" maxlength="255" size="30" style="width: 20%">

						</td>

						<td width="14"><img src="images/spacer.gif" height="1" width="14" border="0" alt=""></td>

					</tr>

					<tr>

						<td width="8"><img src="images/spacer.gif" height="1" width="8" border="0" alt=""></td>

						<td colspan="3">

							<br>

							<strong><label for="strCardName">Cardholder&#8217;s Name</label>:</strong><br>

							<input type="text" name="strCardName" id="strCardName" value="" maxlength="255" size="30" style="width: 100%">

						</td>

						<td width="14"><img src="images/spacer.gif" height="1" width="14" border="0" alt=""></td>

					</tr>

					</table>

					

					<br>

					

					</fieldset>

					<br>

					<fieldset><legend>Type the characters you see in the image</legend>

					<table border="0" cellspacing="0" cellpadding="0" width="100%">

					<tr>

				      <td width="152" height="32"><strong>Image</strong></td>

				      <td width="182"><img src="aspcaptcha.asp" alt="This Is CAPTCHA Image" width="86" height="21" /></td>

				    </tr>

					<tr>

				      <td height="66"><strong>Write the characters in the image above</strong></td>

				      <td><input name="strCAPTCHA" type="text" id="strCAPTCHA" maxlength="8" /></td>

				    </tr>

					</table>

					</fieldset>

					<br><br>

					<div style="margin-left: 10px;"><p align="left"><strong>General Information</strong>

					

	</div>

					

					<br>

					<div style="margin-left: 10px;"><input type="button" value="SUBMIT &raquo;" class="button" onClick="ValidateForm()"></div>

					<br>

					<div style="margin-left: 10px;">

					  <p>

	</div>

					</form>	





</div></td>

	<td width="20"><img src="../images/wrapper/options-spacer2.gif" alt="" width="20" height="33" border="0"></td>

	<td width="222">







</td>

	<td width="17"><img src="../images/spacer.gif" alt="" width="17" height="1" border="0"></td>

</tr>

</table>







</body>



</html>

Open in new window

LelloLello

ASKER
Finally thank you for your help !!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes