Solved

Server.CreateObject("CDONTS.NewMail") to CDOSYS

Posted on 2010-11-12
26
792 Views
Last Modified: 2012-05-10
Hello Experts,

I have the following download file and is not working becasue it's using the cdonts... could you please assist me in converting the code to me to CDOSYS.

This is the page:

http://www.caf-fca.org/en/reports/apprenticeship_transition.asp

This is the backend code:
==================================

This is the front end code:

http://www.caf-fca.org/en/reports/apprenticeship_transition.asp



=================================

==



   <form style="100%" name="YourFormName" method="Post" action="cf_apprenticeship_transition.asp" onSubmit="return checkForm(this);"> 

            <DIV class=right_block> 

            <DIV class=highligts><font color="red"><b>*</b></font> denotes required field</DIV>            

           <DIV class=item><SPAN class=title><b><font color="red"><b> * </b></font>Industry category : </SPAN> 

            <SELECT name="industrycategory" class=f-textName id="industrycategory" onChange="showDiv ();"> 

        <OPTION value="" selected class=f-textName>Select One</OPTION> 

        <OPTION value="Apprentices" class=f-textName>Apprentices</OPTION> 

        <OPTION value="Business / Employer Associations" class=f-textName>Business / Employer Associations</OPTION> 

        <OPTION value="Educators High School" class=f-textName>Educators High School</OPTION> 

        <OPTION value="Educators Post-Secondary" class=f-textName>Educators Post-Secondary</OPTION> 

            <OPTION value="Employees / Journeypersons" class=f-textName>Employees/Journeypersons</OPTION> 

            <OPTION value="Employer/Private/Construction" class=f-textName>Employer/Private/Construction</OPTION> 

            <OPTION value="Employer/Private/Manufacturing" class=f-textName>Employer/Private/Manufacturing</OPTION> 

            <OPTION value="Employer/Private/Service" class=f-textName>Employer/Private/Service</OPTION> 

        <OPTION value="Employer/Private/Transportation" class=f-textName>Employer/Private/Transportation</OPTION> 

        <OPTION value="Employer Public Sector" class=f-textName>Employer Public Sector</OPTION>            

        <OPTION value="Governments" class=f-textName>Governments</OPTION> 

        <OPTION value="Labour" class=f-textName>Labour</OPTION>            

        <OPTION value="NGOs" class=f-textName>NGOs</OPTION> 

        <OPTION value="Unions" class=f-textName>Unions</OPTION> 

        <OPTION value="Parents" class=f-textName>Parents</OPTION> 

        <OPTION value="Research Organizations" class=f-textName>Research Organizations</OPTION> 

        <OPTION value="Sector Councils" class=f-textName>Sector Councils</OPTION> 

        <OPTION value="Students" class=f-textName>Students</OPTION> 

        <OPTION value="Other" class=f-textName>Other</OPTION></SELECT></DIV> 

            <DIV class=item style="display:none;" id="detail"> 

            <SPAN class=title><b>&nbsp;&nbsp;Do you hire apprentices at the present time :</b></SPAN> 

           <INPUT class="button2" tabIndex=30 type=radio value="1" name=specialreq> Yes 

            <INPUT class="button2"  tabIndex=30 type=radio value="0" name=specialreq> No 

            

            

            </div> 

              

        <DIV class=item id="other" style="display:none;"><SPAN class=title><b><font color="red"><b> * </b></font>Other Industry category : </SPAN> 

        <input class=f-textName name="otherIndustryCategory" type="text" id="otherIndustryCategory" size="40"></span></div> 

        

        <DIV class="item last" id="itemlast"><SPAN class=title><b><font color="red"><b> * </b></font>Province/Territory :</SPAN> 

        <SELECT name="txtprovince" class=f-textName> 

        <OPTION value="" selected>Select One</OPTION> 

        <OPTION value=AB class=f-textName>Alberta</OPTION> 

        <OPTION value=BC class=f-textName>British Columbia</OPTION> 

        <OPTION value=MB class=f-textName>Manitoba</OPTION> 

        <OPTION value=NB class=f-textName>New Brunswick</OPTION> 

        <OPTION value=NF class=f-textName>Newfoundland and Labrador</OPTION> 

        <OPTION value=NT class=f-textName>Northwest Territories</OPTION> 

        <OPTION value=NS class=f-textName>Nova Scotia</OPTION> 

        <OPTION value=NU>Nunavut</OPTION> 

        <OPTION value=ON class=f-textName>Ontario</OPTION> 

        <OPTION value=PE>Prince Eard Island</OPTION> 

        <OPTION value=QC class=f-textName>Quebec</OPTION> 

        <OPTION value=SK class=f-textName>Saskatchewan</OPTION> 

        <OPTION value=YK>Yukon Territory</OPTION> 

        <OPTION value=Other class=f-textName>Other</OPTION></SELECT></DIV>     

       <div align="center"><INPUT class=butt title="Send" type="submit" alt="Send" src="" value="Send"> 

      <INPUT class=butt title="Reset" type="reset" alt="reset" src="" value="Reset"> 

      

       <INPUT type=hidden 



      value=cmVxVzdGZvcnF1b3RlX2Zvcm1fbmFtZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9tZXNzYWdlLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2VtYWlsLHJlcXVlc3Rmb3Jx90ZV9mb3JtX3Bob25lLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2NvbXBhbnkscmVxVzdGZvcnF1b3RlX2Zvcm1fZmlsZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9hZGRpbmZv 



      name=_it_fs></FORM>







======================================================

This is backend code apprenticeship_transition.asp

======================================================





<%

If Trim(Request.Form("industrycategory")) <> "" Then

DIM strEmail, strName, strComments, objMail

strName = Request.Form("txtFirstName")

strComments = Request.Form("txtLastName")

 

Set objMail = Server.CreateObject("CDONTS.NewMail")

objMail.From = "download@caf-fca.org"

objMail.Subject = "Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices -- " & Request.Form("txtProvince") 

objMail.To = "elie_azzi@caf-fca.org"

objMail.Body = "Email: " & strEmail & vbCrLf & _

"Name: " & strName & vbCrLf & _

"Title: " & vbCrLf & strComments

objMail.BodyFormat=0   

objMail.MailFormat=0

objMail.Importance = 2

 

objMail.body="<html>" & VBCrLF & "<Title></Title>" & VBCrLf & "<Head></Head>" & VBCrLf & "<Body>" & vbCrLf & _ 

"<h3><center><font color=red>Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices</font></center></h3>" & VBCrLf & _

"<p><strong>Reports:</strong> High School to Apprenticeship Transition: Identifying and Sharing Best Practices" & VBCrLf & VBCrLf & _

"<p><strong>Date Submitted:</strong> " & Now() & VBCrLf & VBCrLf & _

"<h3><font color=Blue>Personal Information:</font></h3>" & VBCrLf & _

"<p><strong>Industry Category:</strong> " & Request.Form("industrycategory") & VBCrLf & VBCrLf & _

"<p><strong>Do you hire apprentices at the present time :</strong> " & Request.Form("specialreq") & VBCrLf & VBCrLf & _

"<p><strong>Other Industry category:</strong> " & Request.Form("otherIndustryCategory") & VBCrLf & VBCrLf & _

"<p><strong>Province:</strong> " & Request.Form("txtprovince") & VBCrLf & VBCrLf & _

"</body>" & VBCrLf & "</html>"

objMail.Send

Set objMail = nothing

End If

%>

Open in new window

0
Comment
Question by:elieazzi
  • 15
  • 7
  • 4
26 Comments
 
LVL 3

Expert Comment

by:giuseppepi
ID: 34120065
here it is (just the relevant part)
 
Set objMail=CreateObject("CDO.Message")

objMail.From = "download@caf-fca.org"

objMail.Subject = "Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices -- " & Request.Form("txtProvince") 

objMail.To = "elie_azzi@caf-fca.org"

objMail.HTMLBody ="<html>" & VBCrLF & "<Title></Title>" & VBCrLf & "<Head></Head>" & VBCrLf & "<Body>" & vbCrLf & _ 

"<h3><center><font color=red>Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices</font></center></h3>" & VBCrLf & _

"<p><strong>Reports:</strong> High School to Apprenticeship Transition: Identifying and Sharing Best Practices" & VBCrLf & VBCrLf & _

"<p><strong>Date Submitted:</strong> " & Now() & VBCrLf & VBCrLf & _

"<h3><font color=Blue>Personal Information:</font></h3>" & VBCrLf & _

"<p><strong>Industry Category:</strong> " & Request.Form("industrycategory") & VBCrLf & VBCrLf & _

"<p><strong>Do you hire apprentices at the present time :</strong> " & Request.Form("specialreq") & VBCrLf & VBCrLf & _

"<p><strong>Other Industry category:</strong> " & Request.Form("otherIndustryCategory") & VBCrLf & VBCrLf & _

"<p><strong>Province:</strong> " & Request.Form("txtprovince") & VBCrLf & VBCrLf & _

"</body>" & VBCrLf & "</html>"

objMail.Send

Set objMail = nothing

Open in new window

0
 

Author Comment

by:elieazzi
ID: 34126112

Thank you, I've copied your code but I wasn't able to receive email.

So I've use the old code and i've change only thei first line... Please correct the code below and iI will test it again please.

thank you,

<%

If Trim(Request.Form("industrycategory")) <> "" Then

DIM strEmail, strName, strComments, objMail

strName = Request.Form("txtFirstName")

strComments = Request.Form("txtLastName")

 

Set objMail=CreateObject("CDO.Message")

objMail.From = "download@caf-fca.org"

objMail.Subject = "Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices -- " & Request.Form("txtProvince") 

objMail.To = "lelloazzi@hotmail.com"

objMail.cc = "elie_azzi@caf-fca.org"

objMail.Body = "Email: " & strEmail & vbCrLf & _

"Name: " & strName & vbCrLf & _

"Title: " & vbCrLf & strComments

objMail.BodyFormat=0   

objMail.MailFormat=0

objMail.Importance = 2

 

objMail.body="<html>" & VBCrLF & "<Title></Title>" & VBCrLf & "<Head></Head>" & VBCrLf & "<Body>" & vbCrLf & _ 

"<h3><center><font color=red>Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices</font></center></h3>" & VBCrLf & _

"<p><strong>Reports:</strong> High School to Apprenticeship Transition: Identifying and Sharing Best Practices" & VBCrLf & VBCrLf & _

"<p><strong>Date Submitted:</strong> " & Now() & VBCrLf & VBCrLf & _

"<h3><font color=Blue>Personal Information:</font></h3>" & VBCrLf & _

"<p><strong>Industry Category:</strong> " & Request.Form("industrycategory") & VBCrLf & VBCrLf & _

"<p><strong>Do you hire apprentices at the present time :</strong> " & Request.Form("specialreq") & VBCrLf & VBCrLf & _

"<p><strong>Other Industry category:</strong> " & Request.Form("otherIndustryCategory") & VBCrLf & VBCrLf & _

"<p><strong>Province:</strong> " & Request.Form("txtprovince") & VBCrLf & VBCrLf & _

"</body>" & VBCrLf & "</html>"

objMail.Send

Set objMail = nothing

End If

%>

Open in new window

0
 
LVL 33

Expert Comment

by:hongjun
ID: 34126156
Is Request.Form("industrycategory") empty?
If it is empty, then the piece of code will not be executed.
0
 

Author Comment

by:elieazzi
ID: 34127165
Hello Hongiun,

The way GiuePEPPi did it is PERFECT no errors but i didn't receive an email as it should be....

FYI before with that code i was recieving an email when it was hosted on windows 2000 Server. So now i moved to windows 2008 hosting server and as you know the cdonts is not supported only cdsys.

So i've attached the original code of the from

BACKEND CODE
http://www.caf-fca.org/en/reports/cf_apprenticeship_transition.asp

So you have to edid this code in order to work.

Please see below.
Thank you.

=================================================================

http://www.caf-fca.org/en/reports/apprenticeship_transition.asp

=================================================================  



<form style="100%" name="YourFormName" method="Post" action="cf_apprenticeship_transition.asp" onSubmit="return checkForm(this);"> 

            <DIV class=right_block> 

            <DIV class=highligts><font color="red"><b>*</b></font> denotes required field</DIV>            

           <DIV class=item><SPAN class=title><b><font color="red"><b> * </b></font>Industry category : </SPAN> 

            <SELECT name="industrycategory" class=f-textName id="industrycategory" onChange="showDiv ();"> 

        <OPTION value="" selected class=f-textName>Select One</OPTION> 

        <OPTION value="Apprentices" class=f-textName>Apprentices</OPTION> 

        <OPTION value="Business / Employer Associations" class=f-textName>Business / Employer Associations</OPTION> 

        <OPTION value="Educators High School" class=f-textName>Educators High School</OPTION> 

        <OPTION value="Educators Post-Secondary" class=f-textName>Educators Post-Secondary</OPTION> 

            <OPTION value="Employees / Journeypersons" class=f-textName>Employees/Journeypersons</OPTION> 

            <OPTION value="Employer/Private/Construction" class=f-textName>Employer/Private/Construction</OPTION> 

            <OPTION value="Employer/Private/Manufacturing" class=f-textName>Employer/Private/Manufacturing</OPTION> 

            <OPTION value="Employer/Private/Service" class=f-textName>Employer/Private/Service</OPTION> 

        <OPTION value="Employer/Private/Transportation" class=f-textName>Employer/Private/Transportation</OPTION> 

        <OPTION value="Employer Public Sector" class=f-textName>Employer Public Sector</OPTION>            

        <OPTION value="Governments" class=f-textName>Governments</OPTION> 

        <OPTION value="Labour" class=f-textName>Labour</OPTION>            

        <OPTION value="NGOs" class=f-textName>NGOs</OPTION> 

        <OPTION value="Unions" class=f-textName>Unions</OPTION> 

        <OPTION value="Parents" class=f-textName>Parents</OPTION> 

        <OPTION value="Research Organizations" class=f-textName>Research Organizations</OPTION> 

        <OPTION value="Sector Councils" class=f-textName>Sector Councils</OPTION> 

        <OPTION value="Students" class=f-textName>Students</OPTION> 

        <OPTION value="Other" class=f-textName>Other</OPTION></SELECT></DIV> 

            <DIV class=item style="display:none;" id="detail"> 

            <SPAN class=title><b>&nbsp;&nbsp;Do you hire apprentices at the present time :</b></SPAN> 

           <INPUT class="button2" tabIndex=30 type=radio value="1" name=specialreq> Yes 

            <INPUT class="button2"  tabIndex=30 type=radio value="0" name=specialreq> No 

            

            

            </div> 

              

        <DIV class=item id="other" style="display:none;"><SPAN class=title><b><font color="red"><b> * </b></font>Other Industry category : </SPAN> 

        <input class=f-textName name="otherIndustryCategory" type="text" id="otherIndustryCategory" size="40"></span></div> 

        

        <DIV class="item last" id="itemlast"><SPAN class=title><b><font color="red"><b> * </b></font>Province/Territory :</SPAN> 

        <SELECT name="txtprovince" class=f-textName> 

        <OPTION value="" selected>Select One</OPTION> 

        <OPTION value=AB class=f-textName>Alberta</OPTION> 

        <OPTION value=BC class=f-textName>British Columbia</OPTION> 

        <OPTION value=MB class=f-textName>Manitoba</OPTION> 

        <OPTION value=NB class=f-textName>New Brunswick</OPTION> 

        <OPTION value=NF class=f-textName>Newfoundland and Labrador</OPTION> 

        <OPTION value=NT class=f-textName>Northwest Territories</OPTION> 

        <OPTION value=NS class=f-textName>Nova Scotia</OPTION> 

        <OPTION value=NU>Nunavut</OPTION> 

        <OPTION value=ON class=f-textName>Ontario</OPTION> 

        <OPTION value=PE>Prince Eard Island</OPTION> 

        <OPTION value=QC class=f-textName>Quebec</OPTION> 

        <OPTION value=SK class=f-textName>Saskatchewan</OPTION> 

        <OPTION value=YK>Yukon Territory</OPTION> 

        <OPTION value=Other class=f-textName>Other</OPTION></SELECT></DIV>     

       <div align="center"><INPUT class=butt title="Send" type="submit" alt="Send" src="" value="Send"> 

      <INPUT class=butt title="Reset" type="reset" alt="reset" src="" value="Reset"> 

      

       <INPUT type=hidden 



      value=cmVxVzdGZvcnF1b3RlX2Zvcm1fbmFtZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9tZXNzYWdlLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2VtYWlsLHJlcXVlc3Rmb3Jx90ZV9mb3JtX3Bob25lLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2NvbXBhbnkscmVxVzdGZvcnF1b3RlX2Zvcm1fZmlsZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9hZGRpbmZv 



      name=_it_fs></FORM>





==========================================================

==========================================================

BACKEND CODE 

http://www.caf-fca.org/en/reports/cf_apprenticeship_transition.asp



So you have to edid this code in order to work. 

==================================================================

===================================================================



<%

If Trim(Request.Form("industrycategory")) <> "" Then

DIM strEmail, strName, strComments, objMail

strName = Request.Form("txtFirstName")

strComments = Request.Form("txtLastName")

 

Set objMail = Server.CreateObject("CDONTS.NewMail")

objMail.From = "download@caf-fca.org"

objMail.Subject = "Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices -- " & Request.Form("txtProvince") 

objMail.To = "Dylan_Shields@caf-fca.org"

objMail.cc = "elie_azzi@caf-fca.org"

objMail.Body = "Email: " & strEmail & vbCrLf & _

"Name: " & strName & vbCrLf & _

"Title: " & vbCrLf & strComments

objMail.BodyFormat=0   

objMail.MailFormat=0

objMail.Importance = 2

 

objMail.body="<html>" & VBCrLF & "<Title></Title>" & VBCrLf & "<Head></Head>" & VBCrLf & "<Body>" & vbCrLf & _ 

"<h3><center><font color=red>Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices</font></center></h3>" & VBCrLf & _

"<p><strong>Reports:</strong> High School to Apprenticeship Transition: Identifying and Sharing Best Practices" & VBCrLf & VBCrLf & _

"<p><strong>Date Submitted:</strong> " & Now() & VBCrLf & VBCrLf & _

"<h3><font color=Blue>Personal Information:</font></h3>" & VBCrLf & _

"<p><strong>Industry Category:</strong> " & Request.Form("industrycategory") & VBCrLf & VBCrLf & _

"<p><strong>Do you hire apprentices at the present time :</strong> " & Request.Form("specialreq") & VBCrLf & VBCrLf & _

"<p><strong>Other Industry category:</strong> " & Request.Form("otherIndustryCategory") & VBCrLf & VBCrLf & _

"<p><strong>Province:</strong> " & Request.Form("txtprovince") & VBCrLf & VBCrLf & _

"</body>" & VBCrLf & "</html>"

objMail.Send

Set objMail = nothing

End If

%>

Open in new window

0
 

Author Comment

by:elieazzi
ID: 34127170
Giuseppepi:      I've implement your code at the following URL:

http://www.caf-fca.org/en/reports/apprenticeship_transition_peppi.asp

As you see it's working with no ERROR BUT I'm not RECEIVING AN EMAIL WHY ?
This is your CODE you modified...

<%

If Trim(Request.Form("industrycategory")) <> "" Then

DIM strEmail, strName, strComments, objMail

strName = Request.Form("txtFirstName")

strComments = Request.Form("txtLastName")

 

 Set objMail=CreateObject("CDO.Message")

objMail.From = "download@caf-fca.org"

objMail.Subject = "Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices -- " & Request.Form("txtProvince") 

objMail.To = "elie_azzi@caf-fca.org"

objMail.HTMLBody ="<html>" & VBCrLF & "<Title></Title>" & VBCrLf & "<Head></Head>" & VBCrLf & "<Body>" & vbCrLf & _ 

"<h3><center><font color=red>Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices</font></center></h3>" & VBCrLf & _

"<p><strong>Reports:</strong> High School to Apprenticeship Transition: Identifying and Sharing Best Practices" & VBCrLf & VBCrLf & _

"<p><strong>Date Submitted:</strong> " & Now() & VBCrLf & VBCrLf & _

"<h3><font color=Blue>Personal Information:</font></h3>" & VBCrLf & _

"<p><strong>Industry Category:</strong> " & Request.Form("industrycategory") & VBCrLf & VBCrLf & _

"<p><strong>Do you hire apprentices at the present time :</strong> " & Request.Form("specialreq") & VBCrLf & VBCrLf & _

"<p><strong>Other Industry category:</strong> " & Request.Form("otherIndustryCategory") & VBCrLf & VBCrLf & _

"<p><strong>Province:</strong> " & Request.Form("txtprovince") & VBCrLf & VBCrLf & _

"</body>" & VBCrLf & "</html>"

objMail.Send

Set objMail = nothing

 







End If

%>

Open in new window

0
 
LVL 33

Expert Comment

by:hongjun
ID: 34127286
After
    If Trim(Request.Form("industrycategory")) <> "" Then

Can you add the following to see if we are in the If-Statement?

If Trim(Request.Form("industrycategory")) <> "" Then
    Response.Write "We are here !!!"
    Response.End



The above should write out "We are here!!!" and then stop there.
0
 
LVL 3

Assisted Solution

by:giuseppepi
giuseppepi earned 500 total points
ID: 34129961
Yes, it is possible that industrycategory is "" or that the smtp is not well configured. There is the possibility to specify SMTP credentials to send email but you should ask your ISP to understand what they are allowing.
My code assumes that you are allowed to send email from localhost without any authentication. Moreover there is no warranties that the email we send will be received from recipient since it is possible that will be deleted thanks to server blacklisted or improper DNS config.
In order to make a test I do suggest to create a page that simply send emails without any condition.
0
 

Author Comment

by:elieazzi
ID: 34133476
Hi Giuseppi,

There is a code I fixed and is working Contact us.  Where I'm able to receive emails.  But please make sure to fix the above code for me. I've attached the followind code for your information to let you know that the contact us is working.


<%

Dim from, sendto, subject, attn, body, name, phone, method

Dim strSQL



Set from = Request.Form("from")

Set subject = Request.Form("subject")

Set sendto = Request.Form("to")

Set attn = Request.Form("attn")

Set body = Request.Form("message")

Set salutation = Request.Form("salutation")

Set name = Request.Form("name")

Set phone1 = Request.Form("phone1")

Set phone2 = Request.Form("phone2")

Set phone3 = Request.Form("phone3")

Set phone4 = Request.Form("phone4")

Set method = Request.Form("method")



body =	"From: " & salutation & " " & name & chr(10) & chr(13) & _

		"Preferred contact method: " & method & chr(10) & chr(13) & _

		"E-mail: " & From & chr(13) & _

		"Phone: " & "(" & phone1 & ")" & " " & phone2 & "-" & phone3 &  " Ext. " & phone4 & chr(10) & chr(13) & _ 

		"Message:" & chr(13) & body & chr(10) & chr(13) & _

		"--------------------------------------------------------------" & chr(13) & _

		"E-mail sent via CAF-FCA web forms.  Email has been sent to : " & sendto & " - " &  now() & chr(10) & chr(13) 





'--------------July 28 2004 Sending email using CDONT --------------------

	

	Set Mail=CreateObject("CDO.Message")

Mail.Subject=attn

Mail.From = name & " (" & From & ")"

Mail.To=sendTo

Mail.TextBody=body			



On Error Resume Next	

	Mail.Send 	

	set Mail = Nothing



'--------------------------------------------------------------------------



'On Error Resume Next

'Mail.Send

If Err <> 0 Then

   Response.Write "Error encountered: " & Err.Description

else

	Response.Write "Thank you.<br><br>Your email has been sent. Please allow at least 24 hours for a response if you requested one."

End If

%>

Open in new window

0
 

Author Comment

by:elieazzi
ID: 34133490
Hello Hongjun,

Please advice where? Please provide the full code to see where...


:After
    If Trim(Request.Form("industrycategory")) <> "" Then

Can you add the following to see if we are in the If-Statement?

If Trim(Request.Form("industrycategory")) <> "" Then
    Response.Write "We are here !!!"
    Response.End



The above should write out "We are here!!!" and then stop there.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Canadian Apprenticeship Forum -- Reports & Resources -- High School to Apprenticeship Transition: Identifying and Sharing Best Practices</TITLE>

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

<META 

content="The Canadian Apprenticeship Forum , Forum, canadien sur lapprentissage (CAF-FCA), not-for-profit, organization, promotes and supports, apprenticeship training, education, systems, Canada." 

name=keywords>

<META 

content="CAF-FCA includes representatives of the following constituent groups: Business , Labour , Interprovincial Alliance of Apprenticeship Board chairs (IPA) , Educators , Persons with disabilities , Women , Visible minorities , Aboriginal persons ,

The Canadian Council of Directors of Apprenticeship (CCDA), and Human Resources and Skills Development Canada (HRSDC)." 

name=description><LINK href="/images/favicon.ico" type=image/x-icon 

rel=icon><LINK href="/images/favicon.ico" type=image/x-icon 

rel="shortcut icon"><LINK href="http://www.caf-fca.org/en/ss/styles.css" type=text/css 

rel=stylesheet>

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/f.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/interface.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/browsers.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns_nav.htm" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/scripts/webtrends.js" 

type=text/JavaScript></SCRIPT>

 

<STYLE type=text/css>#logo {

	TOP: 85px

}

</STYLE>

 

<META content="MSHTML 6.00.6000.16711" name=GENERATOR></HEAD>

<BODY>



<TABLE id=table_outer cellSpacing=0 cellPadding=0 align=center>

  <TBODY>

  <TR class=top vAlign=top>

    <TD>

    <DIV class=wrapper>

      <DIV id=top_inner>

      <!--<DIV class=left>

      <DIV class=item><A href="http://www.caf-fca.org/en/">Home</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/site-map/">Site Map</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/contact/">Contact Us</A></DIV></DIV>-->

      <DIV class=right><A 

      href="http://www.caf-fca.org/en/site-map/">Site Map</A><SPAN>|</SPAN><!--<A 

      href="http://www.caf-fca.org/en/search/">Search</A><SPAN>|</SPAN>--><A 

      href="http://www.caf-fca.org/en/contact/">Contact us</A><SPAN>|</SPAN><A 

      href="http://www.caf-fca.org/fr/rapports/pratiques_exemplaires.asp">Français</A></DIV></DIV></DIV>

      <!--    <DIV class=wrapper>

      <DIV id=header>

      <DIV class=left><img src="http://www.caf-fca.org/en/ii/bg_header_1.gif"></DIV>

      <DIV class=right>

      <DIV class=position>

      <DIV style="WIDTH: 300px">

      <DIV id=header_informer>

      <DIV class=conteiner><IMG src="http://www.caf-fca.org/en/ii/b_hd_inf_title.png" > 

      <DIV style="PADDING-TOP: 2px"><SPAN style="FONT-SIZE: 11pt"><br>

&nbsp;

</SPAN> </DIV></DIV>

     </DIV></DIV></DIV></DIV></DIV></DIV>-->

       <DIV class=wrapper>

      <DIV id=header>

      <DIV class=conteiner><img src="http://www.caf-fca.org/en/ii/bg_header_11.jpg"></DIV>

      <DIV id=header_informer>      

     </DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=main_nav>

      <DIV class=container>

      <DIV class=left>

      <DIV id=logo>

      <DIV class=logo_position><IMG id=logo_img 

      title="CAF - Canadian Apprenticeship Forum" 

      alt="CAF - Canadian Apprenticeship Forum" 

      src="http://www.caf-fca.org/en/ii/x.gif"></DIV></DIV>

      </DIV>

       <!-- Quick Jump --> 

      <!--#include file="../includes/topmenu.htm" -->

      <!-- End Quick -->

      <DIV class=wrapper>

      <DIV id=body>

      <DIV class=container>

      <DIV class=left>

      <DIV class=position>

      <DIV class=informer_block>

      <DIV class=hd>

      <DIV class=inner>

      <DIV class=title><IMG title="Current activities" alt="Current activities" 

      src="http://www.caf-fca.org/en/ii/reports_and_ressources_box.png" align=middle></DIV></DIV></DIV>

      <DIV class=left_b>

      <DIV class=right_b>

      <DIV class=informer_content>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/">Reports and Resources</A></DIV>

      <DIV class=selected_link1 style="MARGIN-LEFT: 20px">High School to Apprenticeship Transition</DIV>

      

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_now.asp">What's Happening in Apprenticeship Now</A></DIV>      

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="it_pays_to_hire_an_apprentice.asp">It pays to hire an apprentice</A></DIV>                   

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="workplace_accommodations.asp">Workplace accommodations for persons with disabilities in the skilled trades</A></DIV>      

       <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="employer_participation.asp">Strategies to increase employer participation in apprenticeship training in Canada</A></DIV>

<DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="annual_report_2009-2010.asp">Annual Report 2009-2010 </A></DIV>

      

       <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="annual_report_2008-2009.asp">Annual Report 2008-2009 </A></DIV>



      

       <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="annual_report_2007-2008.asp">Annual Report 2007-2008</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_labour_market.asp">Apprenticeship Labour Market Outcomes in Canada since 2000</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_public.asp">Apprentices Enrolled at Public Funded Colleges and Institutes</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_private.asp">Apprentices Enrolled in Classroom Training at Private Training Providers</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="skilled_workforce.asp">Apprenticeship - Building a skilled workforce for a strong bottom line</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="essential_skills.asp">The Link Between Essential Skills and Success in Apprenticeship Training</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="accessing_apprenticeship.asp">Accessing and Completing Apprenticeship Training in Canada  </A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="employer_toolkit.asp">Employer Toolkit</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="promotion_project.asp">Regional Consultation Reports on the Promotion Project</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="media_backgrounder.asp">Media Backgrounder on Apprenticeship Training in Canada</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="making_it_work.asp">Making It Work</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="making_it_work_aboriginal.asp">Making It Work Aboriginal Version</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="skilled_trades.asp">Highlights of the Skilled Trades and Awareness and Perception Study</A></DIV>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/newsletters.asp">Newsletters</A></DIV>

     <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/conference_reports.asp">Conference Reports</A></DIV></DIV>

      <DIV class=bottom>

      <DIV class=inner>      

      <DIV class=bg>&nbsp;</DIV></DIV></DIV></DIV></DIV></DIV><BR>

    <!-- Quick Jump --> 

      <!--#include file="../includes/quickjump.htm" -->

      <!-- End Quick -->

     </DIV></DIV>

      <DIV class=content>

      <DIV class=main>     

      <DIV id=path><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>/</SPAN><A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>/</SPAN>High School to Apprenticeship Transition: Identifying and Sharing Best Practices</DIV>

       

      <P><SPAN style="FONT-SIZE: 13pt"><FONT color=#00a2b1>Reports & Resources Downloads</FONT></SPAN><!--<IMG title="Boards of directors" alt="Boards of directors" 

      src="http://www.caf-fca.org/en/ii/BoardOfDirectors_PT.png">--></P>

	  	  <!--<p class="byline" align="justify">CAF-FCA held six forums with employers from across the country to discuss the business case for apprenticeship. This report summarizes employers comments and includes employer directed strategies for increasing employer participation in apprenticeship training.</p>-->

<!-- i remove the if from here -->              

<%

If Trim(Request.Form("industrycategory")) <> "" Then

DIM strEmail, strName, strComments, objMail

strName = Request.Form("txtFirstName")

strComments = Request.Form("txtLastName")

 

Set objMail = Server.CreateObject("CDONTS.NewMail")

objMail.From = "download@caf-fca.org"

objMail.Subject = "Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices -- " & Request.Form("txtProvince") 

objMail.To = "Dylan_Shields@caf-fca.org"

objMail.cc = "elie_azzi@caf-fca.org"

objMail.Body = "Email: " & strEmail & vbCrLf & _

"Name: " & strName & vbCrLf & _

"Title: " & vbCrLf & strComments

objMail.BodyFormat=0   

objMail.MailFormat=0

objMail.Importance = 2

 

objMail.body="<html>" & VBCrLF & "<Title></Title>" & VBCrLf & "<Head></Head>" & VBCrLf & "<Body>" & vbCrLf & _ 

"<h3><center><font color=red>Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices</font></center></h3>" & VBCrLf & _

"<p><strong>Reports:</strong> High School to Apprenticeship Transition: Identifying and Sharing Best Practices" & VBCrLf & VBCrLf & _

"<p><strong>Date Submitted:</strong> " & Now() & VBCrLf & VBCrLf & _

"<h3><font color=Blue>Personal Information:</font></h3>" & VBCrLf & _

"<p><strong>Industry Category:</strong> " & Request.Form("industrycategory") & VBCrLf & VBCrLf & _

"<p><strong>Do you hire apprentices at the present time :</strong> " & Request.Form("specialreq") & VBCrLf & VBCrLf & _

"<p><strong>Other Industry category:</strong> " & Request.Form("otherIndustryCategory") & VBCrLf & VBCrLf & _

"<p><strong>Province:</strong> " & Request.Form("txtprovince") & VBCrLf & VBCrLf & _

"</body>" & VBCrLf & "</html>"

objMail.Send

Set objMail = nothing

End If

%>

 

 

 

 

 

 



 

 

 

          

 

      <DIV class=portfolio_section>

      <DIV class=hd>High School to Apprenticeship Transition:</DIV>

      <DIV class=properties>      

<TABLE cellSpacing=0 cellPadding=0 border=0>

        <TBODY>

        <TR>

          <TD>

            <DIV class=left_block><A 

            onclick="view_picure ('http://www.caf-fca.org/en/ii/apprenticeshiptransition.jpg', 465, 599, 'view_picure'); return false" 

            href="High School to Apprenticeship Transition: Identifying and Sharing Best Practices"><IMG 

            title="High School to Apprenticeship Transition: Identifying and Sharing Best Practices" alt="High School to Apprenticeship Transition: Identifying and Sharing Best Practices" 

            src="../ii/apprenticeship_transition.jpg"></A> </DIV></TD>

          <TD>

		  <% If Trim(Request.Form("industrycategory")) <> "" Then %>

            <DIV class=right_block>

            <DIV class=highligts> Identifying and Sharing Best Practices</DIV>

            <DIV class=item><SPAN class=title>Release Date:</SPAN> May 2010</DIV>

            <DIV class=item><SPAN class=title>Number of pages:</SPAN> 10 pages </DIV>

            <DIV class=item><SPAN class=title>Size: </SPAN> 145 MB </DIV>

         

 

            <DIV class="item last"><SPAN class=title>Download: </SPAN>&nbsp; <A 

      href="http://www.caf-fca.org/en/reports/pdf/apprenticeship_transition_en.pdf" target="_blank">PDF</A>   <!--| <em>HTML coming soon</em>--></DIV></DIV>

        <%End If %>

      </TD></TR></TBODY></TABLE></DIV></DIV>

      <DIV style="PADDING-BOTTOM: 5px">The reports/documents listed on this page reflect the opinion of the individual authors and do not necessarily reflect the opinions of the Canadian Apprenticeship Forum  Forum canadien sur lapprentissage (CAF-FCA).</DIV>

      </DIV><BR><BR>

<BR><BR><BR></DIV></DIV>

 

          <DIV class=right>

      <DIV class=position>

      <SCRIPT type=text/javascript>

<!--

function add_to_fav() {

var ua=navigator.userAgent.toLowerCase();

if ((ua.indexOf("msie")!=-1) && (ua.indexOf("opera")==-1) && (ua.indexOf("webtv")==-1))

window.external.addFavorite(window.location.href, 'Canadian Apprenticeship Forum WebSite');

else alert("Press Ctrl+D to add site in favorites");

}

-->

</SCRIPT>

 

 

      <img src="http://www.caf-fca.org/en/ii/ico_fav.gif"><A onClick="add_to_fav(); return false;" 

      href="http://www.caf-fca.org/"> Add to Favorites</A> | <img src="http://www.caf-fca.org/en/ii/ico_send.gif">

      

      <A HREF="http://www.caf-fca.org/en/tell_a_friend/default.asp">Tell a Friend</A>

      <!--<A 

      onclick="javascript:popup_view(this.href+'params/?page_url='+document.location.href,500,330,this.target); return false" 

      href="http://www.caf-fca.org/en/tell_a_friend/default.asp" target=send_friend> Send to 

      Friend</A>--><br><br>

      <!-- Right Side --> 

      <!--#include file="../includes/rightside.htm" -->

      <!-- End Right Side -->

      </TD></TR>

  <TR>

    <TD>

      <DIV class=wrapper>

      <DIV id=map>

      <DIV class=container>

      <DIV class=left></DIV>

      <DIV class=content>

      <DIV class=main><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/who_we_are/">Who We Are</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/what_we_do/">What We Do</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/activities/">Current Activities</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>|</SPAN> 

      <A 

      href="http://www.caf-fca.org/en/events/">Events</A><SPAN>|</SPAN> 

      <A href="http://www.caf-fca.org/en/media/">Media</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/links/">Directories & Links</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/faqs/">FAQs</A> </DIV></DIV></DIV>

      <DIV class=right></DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=footer>

      <DIV class=container>

      <DIV class=content>

      <DIV class=main>Copyright © 2000 - 2009, <B>Canadian Apprenticeship Forum - <A 

      href="http://www.caf-fca.org/en/policy/">Privacy Policy.</A></B><BR>

   	  This website is funded by the Government of Canada's Sector Council Program.</P></DIV></DIV></DIV>

      <DIV class=right>

      <DIV class=pos>

      <DIV style="PADDING-TOP: 5px">Last updated on <strong>May 12, 2010</strong><br>

      <a href="mailto:elie_azzi@caf-fca.org">webmaster</a> &nbsp;|&nbsp; <a href="mailto:info@caf-fca.org">contact us</a></DIV></DIV></DIV></DIV></DIV>

      

    </TD></TR></TBODY></TABLE><!-- START OF SmartSource Data Collector TAG -->

<!-- Copyright (c) 1996-2009 WebTrends Inc.  All rights reserved. -->

<!-- Version: 8.6.2 -->

<!-- Tag Builder Version: 3.0  -->

<!-- Created: 6/16/2009 2:36:13 PM -->

<script src="/scripts/webtrends.js" type="text/javascript"></script>

<!-- ----------------------------------------------------------------------------------- -->

<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->

<!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->

<!-- ----------------------------------------------------------------------------------- -->

<script type="text/javascript">

//<![CDATA[

var _tag=new WebTrends();

_tag.dcsGetId();

//]]>>

</script>

<script type="text/javascript">

//<![CDATA[

// Add custom parameters here.

//_tag.DCSext.param_name=param_value;

_tag.dcsCollect();

//]]>>

</script>

<noscript>

<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcss1oy8d00000w49zjpjvq1h_6b5l/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"/></div>

</noscript>

<!-- END OF SmartSource Data Collector TAG --></BODY>

		  <% If Trim(Request.Form("industrycategory")) = "" Then %>

		  <script type="text/javascript">

		      alert("In order to request a PDF document you should file this form at http://www.caf-fca.org/en/reports/_employer_participationn.asp");

		  </script>

		  <% End If %>

    </HTML>

Open in new window

0
 
LVL 33

Expert Comment

by:hongjun
ID: 34133616
Add the following 2 lines

Response.Write "We are here !!!"
Response.End

After line 165.
0
 

Author Comment

by:elieazzi
ID: 34133635
0
 

Author Comment

by:elieazzi
ID: 34133641
This is the code now...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Canadian Apprenticeship Forum -- Reports & Resources -- High School to Apprenticeship Transition: Identifying and Sharing Best Practices</TITLE>

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

<META 

content="The Canadian Apprenticeship Forum , Forum, canadien sur lapprentissage (CAF-FCA), not-for-profit, organization, promotes and supports, apprenticeship training, education, systems, Canada." 

name=keywords>

<META 

content="CAF-FCA includes representatives of the following constituent groups: Business , Labour , Interprovincial Alliance of Apprenticeship Board chairs (IPA) , Educators , Persons with disabilities , Women , Visible minorities , Aboriginal persons ,

The Canadian Council of Directors of Apprenticeship (CCDA), and Human Resources and Skills Development Canada (HRSDC)." 

name=description><LINK href="/images/favicon.ico" type=image/x-icon 

rel=icon><LINK href="/images/favicon.ico" type=image/x-icon 

rel="shortcut icon"><LINK href="http://www.caf-fca.org/en/ss/styles.css" type=text/css 

rel=stylesheet>

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/f.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/interface.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/browsers.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns_nav.htm" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/scripts/webtrends.js" 

type=text/JavaScript></SCRIPT>

 

<STYLE type=text/css>#logo {

	TOP: 85px

}

</STYLE>

 

<META content="MSHTML 6.00.6000.16711" name=GENERATOR></HEAD>

<BODY>



<TABLE id=table_outer cellSpacing=0 cellPadding=0 align=center>

  <TBODY>

  <TR class=top vAlign=top>

    <TD>

    <DIV class=wrapper>

      <DIV id=top_inner>

      <!--<DIV class=left>

      <DIV class=item><A href="http://www.caf-fca.org/en/">Home</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/site-map/">Site Map</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/contact/">Contact Us</A></DIV></DIV>-->

      <DIV class=right><A 

      href="http://www.caf-fca.org/en/site-map/">Site Map</A><SPAN>|</SPAN><!--<A 

      href="http://www.caf-fca.org/en/search/">Search</A><SPAN>|</SPAN>--><A 

      href="http://www.caf-fca.org/en/contact/">Contact us</A><SPAN>|</SPAN><A 

      href="http://www.caf-fca.org/fr/rapports/pratiques_exemplaires.asp">Français</A></DIV></DIV></DIV>

      <!--    <DIV class=wrapper>

      <DIV id=header>

      <DIV class=left><img src="http://www.caf-fca.org/en/ii/bg_header_1.gif"></DIV>

      <DIV class=right>

      <DIV class=position>

      <DIV style="WIDTH: 300px">

      <DIV id=header_informer>

      <DIV class=conteiner><IMG src="http://www.caf-fca.org/en/ii/b_hd_inf_title.png" > 

      <DIV style="PADDING-TOP: 2px"><SPAN style="FONT-SIZE: 11pt"><br>

&nbsp;

</SPAN> </DIV></DIV>

     </DIV></DIV></DIV></DIV></DIV></DIV>-->

       <DIV class=wrapper>

      <DIV id=header>

      <DIV class=conteiner><img src="http://www.caf-fca.org/en/ii/bg_header_11.jpg"></DIV>

      <DIV id=header_informer>      

     </DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=main_nav>

      <DIV class=container>

      <DIV class=left>

      <DIV id=logo>

      <DIV class=logo_position><IMG id=logo_img 

      title="CAF - Canadian Apprenticeship Forum" 

      alt="CAF - Canadian Apprenticeship Forum" 

      src="http://www.caf-fca.org/en/ii/x.gif"></DIV></DIV>

      </DIV>

       <!-- Quick Jump --> 

      <!--#include file="../includes/topmenu.htm" -->

      <!-- End Quick -->

      <DIV class=wrapper>

      <DIV id=body>

      <DIV class=container>

      <DIV class=left>

      <DIV class=position>

      <DIV class=informer_block>

      <DIV class=hd>

      <DIV class=inner>

      <DIV class=title><IMG title="Current activities" alt="Current activities" 

      src="http://www.caf-fca.org/en/ii/reports_and_ressources_box.png" align=middle></DIV></DIV></DIV>

      <DIV class=left_b>

      <DIV class=right_b>

      <DIV class=informer_content>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/">Reports and Resources</A></DIV>

      <DIV class=selected_link1 style="MARGIN-LEFT: 20px">High School to Apprenticeship Transition</DIV>

      

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_now.asp">What's Happening in Apprenticeship Now</A></DIV>      

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="it_pays_to_hire_an_apprentice.asp">It pays to hire an apprentice</A></DIV>                   

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="workplace_accommodations.asp">Workplace accommodations for persons with disabilities in the skilled trades</A></DIV>      

       <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="employer_participation.asp">Strategies to increase employer participation in apprenticeship training in Canada</A></DIV>

<DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="annual_report_2009-2010.asp">Annual Report 2009-2010 </A></DIV>

      

       <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="annual_report_2008-2009.asp">Annual Report 2008-2009 </A></DIV>



      

       <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="annual_report_2007-2008.asp">Annual Report 2007-2008</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_labour_market.asp">Apprenticeship Labour Market Outcomes in Canada since 2000</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_public.asp">Apprentices Enrolled at Public Funded Colleges and Institutes</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_private.asp">Apprentices Enrolled in Classroom Training at Private Training Providers</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="skilled_workforce.asp">Apprenticeship - Building a skilled workforce for a strong bottom line</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="essential_skills.asp">The Link Between Essential Skills and Success in Apprenticeship Training</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="accessing_apprenticeship.asp">Accessing and Completing Apprenticeship Training in Canada  </A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="employer_toolkit.asp">Employer Toolkit</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="promotion_project.asp">Regional Consultation Reports on the Promotion Project</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="media_backgrounder.asp">Media Backgrounder on Apprenticeship Training in Canada</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="making_it_work.asp">Making It Work</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="making_it_work_aboriginal.asp">Making It Work Aboriginal Version</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="skilled_trades.asp">Highlights of the Skilled Trades and Awareness and Perception Study</A></DIV>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/newsletters.asp">Newsletters</A></DIV>

     <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/conference_reports.asp">Conference Reports</A></DIV></DIV>

      <DIV class=bottom>

      <DIV class=inner>      

      <DIV class=bg>&nbsp;</DIV></DIV></DIV></DIV></DIV></DIV><BR>

    <!-- Quick Jump --> 

      <!--#include file="../includes/quickjump.htm" -->

      <!-- End Quick -->

     </DIV></DIV>

      <DIV class=content>

      <DIV class=main>     

      <DIV id=path><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>/</SPAN><A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>/</SPAN>High School to Apprenticeship Transition: Identifying and Sharing Best Practices</DIV>

       

      <P><SPAN style="FONT-SIZE: 13pt"><FONT color=#00a2b1>Reports & Resources Downloads</FONT></SPAN><!--<IMG title="Boards of directors" alt="Boards of directors" 

      src="http://www.caf-fca.org/en/ii/BoardOfDirectors_PT.png">--></P>

	  	  <!--<p class="byline" align="justify">CAF-FCA held six forums with employers from across the country to discuss the business case for apprenticeship. This report summarizes employers comments and includes employer directed strategies for increasing employer participation in apprenticeship training.</p>-->

<!-- i remove the if from here -->              

<%

If Trim(Request.Form("industrycategory")) <> "" Then



Response.Write "We are here !!!"

Response.End





DIM strEmail, strName, strComments, objMail

strName = Request.Form("txtFirstName")

strComments = Request.Form("txtLastName")

 

Set objMail = Server.CreateObject("CDONTS.NewMail")

objMail.From = "download@caf-fca.org"

objMail.Subject = "Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices -- " & Request.Form("txtProvince") 

objMail.To = "Dylan_Shields@caf-fca.org"

objMail.cc = "elie_azzi@caf-fca.org"

objMail.Body = "Email: " & strEmail & vbCrLf & _

"Name: " & strName & vbCrLf & _

"Title: " & vbCrLf & strComments

objMail.BodyFormat=0   

objMail.MailFormat=0

objMail.Importance = 2

 

objMail.body="<html>" & VBCrLF & "<Title></Title>" & VBCrLf & "<Head></Head>" & VBCrLf & "<Body>" & vbCrLf & _ 

"<h3><center><font color=red>Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices</font></center></h3>" & VBCrLf & _

"<p><strong>Reports:</strong> High School to Apprenticeship Transition: Identifying and Sharing Best Practices" & VBCrLf & VBCrLf & _

"<p><strong>Date Submitted:</strong> " & Now() & VBCrLf & VBCrLf & _

"<h3><font color=Blue>Personal Information:</font></h3>" & VBCrLf & _

"<p><strong>Industry Category:</strong> " & Request.Form("industrycategory") & VBCrLf & VBCrLf & _

"<p><strong>Do you hire apprentices at the present time :</strong> " & Request.Form("specialreq") & VBCrLf & VBCrLf & _

"<p><strong>Other Industry category:</strong> " & Request.Form("otherIndustryCategory") & VBCrLf & VBCrLf & _

"<p><strong>Province:</strong> " & Request.Form("txtprovince") & VBCrLf & VBCrLf & _

"</body>" & VBCrLf & "</html>"

objMail.Send

Set objMail = nothing

End If

%>

 

 

 

 

 

 



 

 

 

          

 

      <DIV class=portfolio_section>

      <DIV class=hd>High School to Apprenticeship Transition:</DIV>

      <DIV class=properties>      

<TABLE cellSpacing=0 cellPadding=0 border=0>

        <TBODY>

        <TR>

          <TD>

            <DIV class=left_block><A 

            onclick="view_picure ('http://www.caf-fca.org/en/ii/apprenticeshiptransition.jpg', 465, 599, 'view_picure'); return false" 

            href="High School to Apprenticeship Transition: Identifying and Sharing Best Practices"><IMG 

            title="High School to Apprenticeship Transition: Identifying and Sharing Best Practices" alt="High School to Apprenticeship Transition: Identifying and Sharing Best Practices" 

            src="../ii/apprenticeship_transition.jpg"></A> </DIV></TD>

          <TD>

		  <% If Trim(Request.Form("industrycategory")) <> "" Then %>

            <DIV class=right_block>

            <DIV class=highligts> Identifying and Sharing Best Practices</DIV>

            <DIV class=item><SPAN class=title>Release Date:</SPAN> May 2010</DIV>

            <DIV class=item><SPAN class=title>Number of pages:</SPAN> 10 pages </DIV>

            <DIV class=item><SPAN class=title>Size: </SPAN> 145 MB </DIV>

         

 

            <DIV class="item last"><SPAN class=title>Download: </SPAN>&nbsp; <A 

      href="http://www.caf-fca.org/en/reports/pdf/apprenticeship_transition_en.pdf" target="_blank">PDF</A>   <!--| <em>HTML coming soon</em>--></DIV></DIV>

        <%End If %>

      </TD></TR></TBODY></TABLE></DIV></DIV>

      <DIV style="PADDING-BOTTOM: 5px">The reports/documents listed on this page reflect the opinion of the individual authors and do not necessarily reflect the opinions of the Canadian Apprenticeship Forum  Forum canadien sur lapprentissage (CAF-FCA).</DIV>

      </DIV><BR><BR>

<BR><BR><BR></DIV></DIV>

 

          <DIV class=right>

      <DIV class=position>

      <SCRIPT type=text/javascript>

<!--

function add_to_fav() {

var ua=navigator.userAgent.toLowerCase();

if ((ua.indexOf("msie")!=-1) && (ua.indexOf("opera")==-1) && (ua.indexOf("webtv")==-1))

window.external.addFavorite(window.location.href, 'Canadian Apprenticeship Forum WebSite');

else alert("Press Ctrl+D to add site in favorites");

}

-->

</SCRIPT>

 

 

      <img src="http://www.caf-fca.org/en/ii/ico_fav.gif"><A onClick="add_to_fav(); return false;" 

      href="http://www.caf-fca.org/"> Add to Favorites</A> | <img src="http://www.caf-fca.org/en/ii/ico_send.gif">

      

      <A HREF="http://www.caf-fca.org/en/tell_a_friend/default.asp">Tell a Friend</A>

      <!--<A 

      onclick="javascript:popup_view(this.href+'params/?page_url='+document.location.href,500,330,this.target); return false" 

      href="http://www.caf-fca.org/en/tell_a_friend/default.asp" target=send_friend> Send to 

      Friend</A>--><br><br>

      <!-- Right Side --> 

      <!--#include file="../includes/rightside.htm" -->

      <!-- End Right Side -->

      </TD></TR>

  <TR>

    <TD>

      <DIV class=wrapper>

      <DIV id=map>

      <DIV class=container>

      <DIV class=left></DIV>

      <DIV class=content>

      <DIV class=main><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/who_we_are/">Who We Are</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/what_we_do/">What We Do</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/activities/">Current Activities</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>|</SPAN> 

      <A 

      href="http://www.caf-fca.org/en/events/">Events</A><SPAN>|</SPAN> 

      <A href="http://www.caf-fca.org/en/media/">Media</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/links/">Directories & Links</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/faqs/">FAQs</A> </DIV></DIV></DIV>

      <DIV class=right></DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=footer>

      <DIV class=container>

      <DIV class=content>

      <DIV class=main>Copyright © 2000 - 2009, <B>Canadian Apprenticeship Forum - <A 

      href="http://www.caf-fca.org/en/policy/">Privacy Policy.</A></B><BR>

   	  This website is funded by the Government of Canada's Sector Council Program.</P></DIV></DIV></DIV>

      <DIV class=right>

      <DIV class=pos>

      <DIV style="PADDING-TOP: 5px">Last updated on <strong>May 12, 2010</strong><br>

      <a href="mailto:elie_azzi@caf-fca.org">webmaster</a> &nbsp;|&nbsp; <a href="mailto:info@caf-fca.org">contact us</a></DIV></DIV></DIV></DIV></DIV>

      

    </TD></TR></TBODY></TABLE><!-- START OF SmartSource Data Collector TAG -->

<!-- Copyright (c) 1996-2009 WebTrends Inc.  All rights reserved. -->

<!-- Version: 8.6.2 -->

<!-- Tag Builder Version: 3.0  -->

<!-- Created: 6/16/2009 2:36:13 PM -->

<script src="/scripts/webtrends.js" type="text/javascript"></script>

<!-- ----------------------------------------------------------------------------------- -->

<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->

<!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->

<!-- ----------------------------------------------------------------------------------- -->

<script type="text/javascript">

//<![CDATA[

var _tag=new WebTrends();

_tag.dcsGetId();

//]]>>

</script>

<script type="text/javascript">

//<![CDATA[

// Add custom parameters here.

//_tag.DCSext.param_name=param_value;

_tag.dcsCollect();

//]]>>

</script>

<noscript>

<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcss1oy8d00000w49zjpjvq1h_6b5l/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"/></div>

</noscript>

<!-- END OF SmartSource Data Collector TAG --></BODY>

		  <% If Trim(Request.Form("industrycategory")) = "" Then %>

		  <script type="text/javascript">

		      alert("In order to request a PDF document you should file this form at http://www.caf-fca.org/en/reports/_employer_participationn.asp");

		  </script>

		  <% End If %>

    </HTML>

Open in new window

0
 
LVL 33

Expert Comment

by:hongjun
ID: 34133657
So you don't see the statement "We are here !!" right? It means Request.Form("industrycategory") is empty..

Make sure you select something from the industrycategory dropdown before you click on submit. Since we have confirmed it is empty, we can remove the 2 statements I instructed you to now.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 3

Accepted Solution

by:
giuseppepi earned 500 total points
ID: 34134132
try to change

<form style="100%" name="YourFormName" method="Post" action="cf_apprenticeship_transition.asp" onSubmit="return checkForm(this);">  

with

<form style="100%" name="YourFormName" method="get" action="cf_apprenticeship_transition.asp" onSubmit="return checkForm(this);">

and let's take a look to the passed parameters...
0
 

Author Comment

by:elieazzi
ID: 34142450
Hello qiuseppeppi,

As per your request i ddi the change take a look it didnt' work.

http://www.caf-fca.org/en/reports/apprenticeship_transition_peppi.asp

See the transition_peppi.asp code and the backend code.
apprenticeship_transition_peppi.asp

=======================================



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Canadian Apprenticeship Forum -- Reports & Resources -- High School to Apprenticeship Transition: Identifying and Sharing Best Practices</TITLE>

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

<META 

content="The Canadian Apprenticeship Forum , Forum, canadien sur lapprentissage (CAF-FCA), not-for-profit, organization, promotes and supports, apprenticeship training, education, systems, Canada." 

name=keywords>

<META 

content="CAF-FCA includes representatives of the following constituent groups: Business , Labour , Interprovincial Alliance of Apprenticeship Board chairs (IPA) , Educators , Persons with disabilities , Women , Visible minorities , Aboriginal persons ,

The Canadian Council of Directors of Apprenticeship (CCDA), and Human Resources and Skills Development Canada (HRSDC)." 

name=description><LINK href="/images/favicon.ico" type=image/x-icon 

rel=icon><LINK href="/images/favicon.ico" type=image/x-icon 

rel="shortcut icon"><LINK href="http://www.caf-fca.org/en/ss/styles.css" type=text/css 

rel=stylesheet>

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/f.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/interface.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/browsers.js" 

type=text/JavaScript></SCRIPT>

 

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns_nav.htm" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/scripts/webtrends.js" 

type=text/JavaScript></SCRIPT>

 

<STYLE type=text/css>#logo {

	TOP: 85px

}

</STYLE>

 

<META content="MSHTML 6.00.6000.16711" name=GENERATOR></HEAD>

<BODY>



<TABLE id=table_outer cellSpacing=0 cellPadding=0 align=center>

  <TBODY>

  <TR class=top vAlign=top>

    <TD>

    <DIV class=wrapper>

      <DIV id=top_inner>

      <!--<DIV class=left>

      <DIV class=item><A href="http://www.caf-fca.org/en/">Home</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/site-map/">Site Map</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/contact/">Contact Us</A></DIV></DIV>-->

      <DIV class=right><A 

      href="http://www.caf-fca.org/en/site-map/">Site Map</A><SPAN>|</SPAN><!--<A 

      href="http://www.caf-fca.org/en/search/">Search</A><SPAN>|</SPAN>--><A 

      href="http://www.caf-fca.org/en/contact/">Contact us</A><SPAN>|</SPAN><A 

      href="http://www.caf-fca.org/fr/rapports/pratiques_exemplaires.asp">Français</A></DIV></DIV></DIV>

      <!--    <DIV class=wrapper>

      <DIV id=header>

      <DIV class=left><img src="http://www.caf-fca.org/en/ii/bg_header_1.gif"></DIV>

      <DIV class=right>

      <DIV class=position>

      <DIV style="WIDTH: 300px">

      <DIV id=header_informer>

      <DIV class=conteiner><IMG src="http://www.caf-fca.org/en/ii/b_hd_inf_title.png" > 

      <DIV style="PADDING-TOP: 2px"><SPAN style="FONT-SIZE: 11pt"><br>

&nbsp;

</SPAN> </DIV></DIV>

     </DIV></DIV></DIV></DIV></DIV></DIV>-->

       <DIV class=wrapper>

      <DIV id=header>

      <DIV class=conteiner><img src="http://www.caf-fca.org/en/ii/bg_header_11.jpg"></DIV>

      <DIV id=header_informer>      

     </DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=main_nav>

      <DIV class=container>

      <DIV class=left>

      <DIV id=logo>

      <DIV class=logo_position><IMG id=logo_img 

      title="CAF - Canadian Apprenticeship Forum" 

      alt="CAF - Canadian Apprenticeship Forum" 

      src="http://www.caf-fca.org/en/ii/x.gif"></DIV></DIV>

      </DIV>

       <!-- Quick Jump --> 

      <!--#include file="../includes/topmenu.htm" -->

      <!-- End Quick -->

      <DIV class=wrapper>

      <DIV id=body>

      <DIV class=container>

      <DIV class=left>

      <DIV class=position>

      <DIV class=informer_block>

      <DIV class=hd>

      <DIV class=inner>

      <DIV class=title><IMG title="Current activities" alt="Current activities" 

      src="http://www.caf-fca.org/en/ii/reports_and_ressources_box.png" align=middle></DIV></DIV></DIV>

      <DIV class=left_b>

      <DIV class=right_b>

      <DIV class=informer_content>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/">Reports and Resources</A></DIV>

      <DIV class=selected_link1 style="MARGIN-LEFT: 20px">High School to Apprenticeship Transition</DIV>

      

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_now.asp">What's Happening in Apprenticeship Now</A></DIV>      

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="it_pays_to_hire_an_apprentice.asp">It pays to hire an apprentice</A></DIV>                   

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="workplace_accommodations.asp">Workplace accommodations for persons with disabilities in the skilled trades</A></DIV>      

       <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="employer_participation.asp">Strategies to increase employer participation in apprenticeship training in Canada</A></DIV>

<DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="annual_report_2009-2010.asp">Annual Report 2009-2010 </A></DIV>

      

       <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="annual_report_2008-2009.asp">Annual Report 2008-2009 </A></DIV>



      

       <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="annual_report_2007-2008.asp">Annual Report 2007-2008</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_labour_market.asp">Apprenticeship Labour Market Outcomes in Canada since 2000</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_public.asp">Apprentices Enrolled at Public Funded Colleges and Institutes</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="apprenticeship_private.asp">Apprentices Enrolled in Classroom Training at Private Training Providers</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="skilled_workforce.asp">Apprenticeship - Building a skilled workforce for a strong bottom line</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="essential_skills.asp">The Link Between Essential Skills and Success in Apprenticeship Training</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="accessing_apprenticeship.asp">Accessing and Completing Apprenticeship Training in Canada  </A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="employer_toolkit.asp">Employer Toolkit</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="promotion_project.asp">Regional Consultation Reports on the Promotion Project</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="media_backgrounder.asp">Media Backgrounder on Apprenticeship Training in Canada</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="making_it_work.asp">Making It Work</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="making_it_work_aboriginal.asp">Making It Work Aboriginal Version</A></DIV>

      <DIV class=simple_link style="MARGIN-LEFT: 20px"><A 

      href="skilled_trades.asp">Highlights of the Skilled Trades and Awareness and Perception Study</A></DIV>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/newsletters.asp">Newsletters</A></DIV>

     <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/conference_reports.asp">Conference Reports</A></DIV></DIV>

      <DIV class=bottom>

      <DIV class=inner>      

      <DIV class=bg>&nbsp;</DIV></DIV></DIV></DIV></DIV></DIV><BR>

    <!-- Quick Jump --> 

      <!--#include file="../includes/quickjump.htm" -->

      <!-- End Quick -->

     </DIV></DIV>

      <DIV class=content>

      <DIV class=main>     

      <DIV id=path><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>/</SPAN><A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>/</SPAN>High School to Apprenticeship Transition: Identifying and Sharing Best Practices</DIV>

       

      <P><SPAN style="FONT-SIZE: 13pt"><FONT color=#00a2b1>Reports & Resources Downloads</FONT></SPAN><!--<IMG title="Boards of directors" alt="Boards of directors" 

      src="http://www.caf-fca.org/en/ii/BoardOfDirectors_PT.png">--></P>

	  	  <!--<p class="byline" align="justify">CAF-FCA held six forums with employers from across the country to discuss the business case for apprenticeship. This report summarizes employers comments and includes employer directed strategies for increasing employer participation in apprenticeship training.</p>-->

<!-- i remove the if from here -->              

<%

If Trim(Request.Form("industrycategory")) <> "" Then

DIM strEmail, strName, strComments, objMail

strName = Request.Form("txtFirstName")

strComments = Request.Form("txtLastName")

 

 Set objMail=CreateObject("CDO.Message")

objMail.From = "download@caf-fca.org"

objMail.Subject = "Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices -- " & Request.Form("txtProvince") 

objMail.To = "elie_azzi@caf-fca.org"

objMail.HTMLBody ="<html>" & VBCrLF & "<Title></Title>" & VBCrLf & "<Head></Head>" & VBCrLf & "<Body>" & vbCrLf & _ 

"<h3><center><font color=red>Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices</font></center></h3>" & VBCrLf & _

"<p><strong>Reports:</strong> High School to Apprenticeship Transition: Identifying and Sharing Best Practices" & VBCrLf & VBCrLf & _

"<p><strong>Date Submitted:</strong> " & Now() & VBCrLf & VBCrLf & _

"<h3><font color=Blue>Personal Information:</font></h3>" & VBCrLf & _

"<p><strong>Industry Category:</strong> " & Request.Form("industrycategory") & VBCrLf & VBCrLf & _

"<p><strong>Do you hire apprentices at the present time :</strong> " & Request.Form("specialreq") & VBCrLf & VBCrLf & _

"<p><strong>Other Industry category:</strong> " & Request.Form("otherIndustryCategory") & VBCrLf & VBCrLf & _

"<p><strong>Province:</strong> " & Request.Form("txtprovince") & VBCrLf & VBCrLf & _

"</body>" & VBCrLf & "</html>"

objMail.Send

Set objMail = nothing

 







End If

%>

 



 

 

 

 

 



 

 

 

          

 

      <DIV class=portfolio_section>

      <DIV class=hd>High School to Apprenticeship Transition:</DIV>

      <DIV class=properties>      

<TABLE cellSpacing=0 cellPadding=0 border=0>

        <TBODY>

        <TR>

          <TD>

            <DIV class=left_block><A 

            onclick="view_picure ('http://www.caf-fca.org/en/ii/apprenticeshiptransition.jpg', 465, 599, 'view_picure'); return false" 

            href="High School to Apprenticeship Transition: Identifying and Sharing Best Practices"><IMG 

            title="High School to Apprenticeship Transition: Identifying and Sharing Best Practices" alt="High School to Apprenticeship Transition: Identifying and Sharing Best Practices" 

            src="../ii/apprenticeship_transition.jpg"></A> </DIV></TD>

          <TD>

		  <% If Trim(Request.Form("industrycategory")) <> "" Then %>

            <DIV class=right_block>

            <DIV class=highligts> Identifying and Sharing Best Practices</DIV>

            <DIV class=item><SPAN class=title>Release Date:</SPAN> May 2010</DIV>

            <DIV class=item><SPAN class=title>Number of pages:</SPAN> 10 pages </DIV>

            <DIV class=item><SPAN class=title>Size: </SPAN> 145 MB </DIV>

         

 

            <DIV class="item last"><SPAN class=title>Download: </SPAN>&nbsp; <A 

      href="http://www.caf-fca.org/en/reports/pdf/apprenticeship_transition_en.pdf" target="_blank">PDF</A>   <!--| <em>HTML coming soon</em>--></DIV></DIV>

        <%End If %>

      </TD></TR></TBODY></TABLE></DIV></DIV>

      <DIV style="PADDING-BOTTOM: 5px">The reports/documents listed on this page reflect the opinion of the individual authors and do not necessarily reflect the opinions of the Canadian Apprenticeship Forum  Forum canadien sur lapprentissage (CAF-FCA).</DIV>

      </DIV><BR><BR>

<BR><BR><BR></DIV></DIV>

 

          <DIV class=right>

      <DIV class=position>

      <SCRIPT type=text/javascript>

<!--

function add_to_fav() {

var ua=navigator.userAgent.toLowerCase();

if ((ua.indexOf("msie")!=-1) && (ua.indexOf("opera")==-1) && (ua.indexOf("webtv")==-1))

window.external.addFavorite(window.location.href, 'Canadian Apprenticeship Forum WebSite');

else alert("Press Ctrl+D to add site in favorites");

}

-->

</SCRIPT>

 

 

      <img src="http://www.caf-fca.org/en/ii/ico_fav.gif"><A onClick="add_to_fav(); return false;" 

      href="http://www.caf-fca.org/"> Add to Favorites</A> | <img src="http://www.caf-fca.org/en/ii/ico_send.gif">

      

      <A HREF="http://www.caf-fca.org/en/tell_a_friend/default.asp">Tell a Friend</A>

      <!--<A 

      onclick="javascript:popup_view(this.href+'params/?page_url='+document.location.href,500,330,this.target); return false" 

      href="http://www.caf-fca.org/en/tell_a_friend/default.asp" target=send_friend> Send to 

      Friend</A>--><br><br>

      <!-- Right Side --> 

      <!--#include file="../includes/rightside.htm" -->

      <!-- End Right Side -->

      </TD></TR>

  <TR>

    <TD>

      <DIV class=wrapper>

      <DIV id=map>

      <DIV class=container>

      <DIV class=left></DIV>

      <DIV class=content>

      <DIV class=main><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/who_we_are/">Who We Are</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/what_we_do/">What We Do</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/activities/">Current Activities</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>|</SPAN> 

      <A 

      href="http://www.caf-fca.org/en/events/">Events</A><SPAN>|</SPAN> 

      <A href="http://www.caf-fca.org/en/media/">Media</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/links/">Directories & Links</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/faqs/">FAQs</A> </DIV></DIV></DIV>

      <DIV class=right></DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=footer>

      <DIV class=container>

      <DIV class=content>

      <DIV class=main>Copyright © 2000 - 2009, <B>Canadian Apprenticeship Forum - <A 

      href="http://www.caf-fca.org/en/policy/">Privacy Policy.</A></B><BR>

   	  This website is funded by the Government of Canada's Sector Council Program.</P></DIV></DIV></DIV>

      <DIV class=right>

      <DIV class=pos>

      <DIV style="PADDING-TOP: 5px">Last updated on <strong>May 12, 2010</strong><br>

      <a href="mailto:elie_azzi@caf-fca.org">webmaster</a> &nbsp;|&nbsp; <a href="mailto:info@caf-fca.org">contact us</a></DIV></DIV></DIV></DIV></DIV>

      

    </TD></TR></TBODY></TABLE><!-- START OF SmartSource Data Collector TAG -->

<!-- Copyright (c) 1996-2009 WebTrends Inc.  All rights reserved. -->

<!-- Version: 8.6.2 -->

<!-- Tag Builder Version: 3.0  -->

<!-- Created: 6/16/2009 2:36:13 PM -->

<script src="/scripts/webtrends.js" type="text/javascript"></script>

<!-- ----------------------------------------------------------------------------------- -->

<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->

<!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->

<!-- ----------------------------------------------------------------------------------- -->

<script type="text/javascript">

//<![CDATA[

var _tag=new WebTrends();

_tag.dcsGetId();

//]]>>

</script>

<script type="text/javascript">

//<![CDATA[

// Add custom parameters here.

//_tag.DCSext.param_name=param_value;

_tag.dcsCollect();

//]]>>

</script>

<noscript>

<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcss1oy8d00000w49zjpjvq1h_6b5l/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"/></div>

</noscript>

<!-- END OF SmartSource Data Collector TAG --></BODY>

		  <% If Trim(Request.Form("industrycategory")) = "" Then %>

		  <script type="text/javascript">

		      alert("In order to request a PDF document you should file this form at http://www.caf-fca.org/en/reports/_employer_participationn.asp");

		  </script>

		  <% End If %>

    </HTML>





==================================================

=====================================

                  backend code

=======================================

==========================================









<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Canadian Apprenticeship Forum -- Reports & Resources -- High School to Apprenticeship Transition: Identifying and Sharing Best Practices</TITLE>

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

<META 

content="The Canadian Apprenticeship Forum , Forum, canadien sur l’apprentissage (CAF-FCA), not-for-profit, organization, promotes and supports, apprenticeship training, education, systems, Canada." 

name=keywords>

<META 

content="CAF-FCA includes representatives of the following constituent groups: Business , Labour , Interprovincial Alliance of Apprenticeship Board chairs (IPA) , Educators , Persons with disabilities , Women , Visible minorities , Aboriginal persons ,

The Canadian Council of Directors of Apprenticeship (CCDA), and Human Resources and Skills Development Canada (HRSDC)." 

name=description><LINK href="/images/favicon.ico" type=image/x-icon 

rel=icon><LINK href="/images/favicon.ico" type=image/x-icon 

rel="shortcut icon"><LINK href="http://www.caf-fca.org/en/ss/styles.css" type=text/css 

rel=stylesheet>

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/f.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/interface.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/browsers.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns_nav.htm" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/scripts/webtrends.js" 

type=text/JavaScript></SCRIPT>



<STYLE type=text/css>#logo {

	TOP: 85px

}

</STYLE>

<script type="text/javascript"> 

   function checkForm(theForm){

    if(theForm.industrycategory.selectedIndex ==0){

    alert("You must select a option from Industry category.");

    return false;

  }

 

  if(theForm.txtprovince.selectedIndex ==0){

    alert("You must select a region from province / territory.");

    return false;

  }

	

return true;

}	

	  function showDiv() {

                var x = document.getElementById('industrycategory').value;

                  if (x=='Employer/Private/Transportation' || x=='Employer/Private/Construction' || x=='Employer/Private/Manufacturing' || x=='Employer/Private/Service'){

                                document.getElementById('detail').style.display='block';

                               

document.getElementById('other').style.display='none';

                        }

else if (x=='Other') {

document.getElementById('other').style.display='block';

document.getElementById('detail').style.display='none';



}

                else {

                        document.getElementById('detail').style.display='none';

                      

document.getElementById('other').style.display='none';

                        }

                

                }

 

 

</script> 



<META content="MSHTML 6.00.6000.16711" name=GENERATOR></HEAD>

<BODY>



<TABLE id=table_outer cellSpacing=0 cellPadding=0 align=center>

  <TBODY>

  <TR class=top vAlign=top>

    <TD>

    <DIV class=wrapper>

      <DIV id=top_inner>

      <!--<DIV class=left>

      <DIV class=item><A href="http://www.caf-fca.org/en/">Home</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/site-map/">Site Map</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/contact/">Contact Us</A></DIV></DIV>-->

      <DIV class=right><A 

      href="http://www.caf-fca.org/en/site-map/">Site Map</A><SPAN>|</SPAN><!--<A 

      href="http://www.caf-fca.org/en/search/">Search</A><SPAN>|</SPAN>--><A 

      href="http://www.caf-fca.org/en/contact/">Contact us</A><SPAN>|</SPAN><A 

      href="http://www.caf-fca.org/fr/rapports/pratiques_exemplaires.asp">Français</A></DIV></DIV></DIV>

      <!--    <DIV class=wrapper>

      <DIV id=header>

      <DIV class=left><img src="http://www.caf-fca.org/en/ii/bg_header_1.gif"></DIV>

      <DIV class=right>

      <DIV class=position>

      <DIV style="WIDTH: 300px">

      <DIV id=header_informer>

      <DIV class=conteiner><IMG src="http://www.caf-fca.org/en/ii/b_hd_inf_title.png" > 

      <DIV style="PADDING-TOP: 2px"><SPAN style="FONT-SIZE: 11pt"><br>

&nbsp;

</SPAN> </DIV></DIV>

     </DIV></DIV></DIV></DIV></DIV></DIV>-->

       <DIV class=wrapper>

      <DIV id=header>

      <DIV class=conteiner><img src="http://www.caf-fca.org/en/ii/bg_header_11.jpg"></DIV>

      <DIV id=header_informer>      

     </DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=main_nav>

      <DIV class=container>

      <DIV class=left>

      <DIV id=logo>

      <DIV class=logo_position><IMG id=logo_img 

      title="CAF - Canadian Apprenticeship Forum" 

      alt="CAF - Canadian Apprenticeship Forum" 

      src="http://www.caf-fca.org/en/ii/x.gif"></DIV></DIV>

      </DIV>

       <!-- Quick Jump --> 

      <!--#include file="../includes/topmenu.htm" -->

      <!-- End Quick -->

      <DIV class=wrapper>

      <DIV id=body>

      <DIV class=container>

      <DIV class=left>

      <DIV class=position>

      <DIV class=informer_block>

      <DIV class=hd>

      <DIV class=inner>

      <DIV class=title><IMG title="Current activities" alt="Current activities" 

      src="http://www.caf-fca.org/en/ii/reports_and_ressources_box.png" align=middle></DIV></DIV></DIV>

      <DIV class=left_b>

      <DIV class=right_b>

     <DIV class=informer_content>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/">Reports and Resources</A></DIV>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/newsletter/">Newsletters</a></DIV>

     <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/conference_reports.asp">Conference Reports</A></DIV></DIV>

      <DIV class=bottom>

      <DIV class=inner>      

      <DIV class=bg>&nbsp;</DIV></DIV></DIV></DIV></DIV></DIV><BR>

      <!-- Images Right Side -->

             <!-- Quick Jump --> 

      <!--#include file="../includes/quicklinks.htm" -->

      <!-- End Quick --><br>

      

     <!-- Quick Links --> 

      <!--#include file="../includes/quickjump.htm" -->

      <!-- End Quick Links -->

     </DIV></DIV>

	 <DIV class=content>

      <DIV class=main>     

      <DIV id=path><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>/</SPAN><A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>/</SPAN>High School to Apprenticeship Transition</DIV>

       

      <P><SPAN style="FONT-SIZE: 13pt"><FONT color=#00a2b1>Reports & Resources Download Form</FONT></SPAN><!--<IMG title="Boards of directors" alt="Boards of directors" 

      src="http://www.caf-fca.org/en/ii/BoardOfDirectors_PT.png">--></P>

	  	  	<p class="byline" align="justify">We would appreciate it if prior to downloading CAF-FCA’s reports, you would identify your stakeholder group and province/territory.  This information is for internal purposes only and will not be shared.  It is intended to help CAF-FCA better trace its impact and value within the apprenticeship community.  Any comments you may have on the influence or impact of CAF-FCA’s work are truly appreciated.  Share your thoughts by contacting <a href="mailto:dylan_shields@caf-fca.org">dylan_shields@caf-fca.org</a>. 



</p>   

      <DIV class=portfolio_section>

      <DIV class=hd>High School to Apprenticeship Transition: Identifying and Sharing Best Practices</DIV>

      <DIV class=properties>      

<TABLE cellSpacing=0 cellPadding=0 border=0>

        <TBODY>

        <TR>

          <TD>

            <DIV class=left_block><A 

            onclick="view_picure ('http://www.caf-fca.org/en/ii/apprenticeshiptransition.jpg', 465, 599, 'view_picure'); return false" 

            href="Identifying and Sharing Best Practices"><IMG 

            title="Identifying and Sharing Best Practices" alt="Identifying and Sharing Best Practices" 

            src="../ii/apprenticeship_transition.jpg"></A> </DIV></TD>

          <TD>

          

                       

                       <form style="100%" name="YourFormName" method="get" action="cf_apprenticeship_transition_peppi.asp" onSubmit="return checkForm(this);"> 





                       

            <DIV class=right_block> 

            <DIV class=highligts><font color="red"><b>*</b></font> denotes required field</DIV>            

           <DIV class=item><SPAN class=title><b><font color="red"><b> * </b></font>Industry category : </SPAN> 

            <SELECT name="industrycategory" class=f-textName id="industrycategory" onChange="showDiv ();"> 

        <OPTION value="" selected class=f-textName>Select One</OPTION> 

        <OPTION value="Apprentices" class=f-textName>Apprentices</OPTION> 

        <OPTION value="Business / Employer Associations" class=f-textName>Business / Employer Associations</OPTION> 

        <OPTION value="Educators High School" class=f-textName>Educators High School</OPTION> 

        <OPTION value="Educators Post-Secondary" class=f-textName>Educators Post-Secondary</OPTION> 

            <OPTION value="Employees / Journeypersons" class=f-textName>Employees/Journeypersons</OPTION> 

            <OPTION value="Employer/Private/Construction" class=f-textName>Employer/Private/Construction</OPTION> 

            <OPTION value="Employer/Private/Manufacturing" class=f-textName>Employer/Private/Manufacturing</OPTION> 

            <OPTION value="Employer/Private/Service" class=f-textName>Employer/Private/Service</OPTION> 

        <OPTION value="Employer/Private/Transportation" class=f-textName>Employer/Private/Transportation</OPTION> 

        <OPTION value="Employer Public Sector" class=f-textName>Employer Public Sector</OPTION>            

        <OPTION value="Governments" class=f-textName>Governments</OPTION> 

        <OPTION value="Labour" class=f-textName>Labour</OPTION>            

        <OPTION value="NGOs" class=f-textName>NGOs</OPTION> 

        <OPTION value="Unions" class=f-textName>Unions</OPTION> 

        <OPTION value="Parents" class=f-textName>Parents</OPTION> 

        <OPTION value="Research Organizations" class=f-textName>Research Organizations</OPTION> 

        <OPTION value="Sector Councils" class=f-textName>Sector Councils</OPTION> 

        <OPTION value="Students" class=f-textName>Students</OPTION> 

        <OPTION value="Other" class=f-textName>Other</OPTION></SELECT></DIV> 

            <DIV class=item style="display:none;" id="detail"> 

            <SPAN class=title><b>&nbsp;&nbsp;Do you hire apprentices at the present time :</b></SPAN> 

           <INPUT class="button2" tabIndex=30 type=radio value="1" name=specialreq> Yes 

            <INPUT class="button2"  tabIndex=30 type=radio value="0" name=specialreq> No 

            

            

            </div> 

              

        <DIV class=item id="other" style="display:none;"><SPAN class=title><b><font color="red"><b> * </b></font>Other Industry category : </SPAN> 

        <input class=f-textName name="otherIndustryCategory" type="text" id="otherIndustryCategory" size="40"></span></div> 

        

        <DIV class="item last" id="itemlast"><SPAN class=title><b><font color="red"><b> * </b></font>Province/Territory :</SPAN> 

        <SELECT name="txtprovince" class=f-textName> 

        <OPTION value="" selected>Select One</OPTION> 

        <OPTION value=AB class=f-textName>Alberta</OPTION> 

        <OPTION value=BC class=f-textName>British Columbia</OPTION> 

        <OPTION value=MB class=f-textName>Manitoba</OPTION> 

        <OPTION value=NB class=f-textName>New Brunswick</OPTION> 

        <OPTION value=NF class=f-textName>Newfoundland and Labrador</OPTION> 

        <OPTION value=NT class=f-textName>Northwest Territories</OPTION> 

        <OPTION value=NS class=f-textName>Nova Scotia</OPTION> 

        <OPTION value=NU>Nunavut</OPTION> 

        <OPTION value=ON class=f-textName>Ontario</OPTION> 

        <OPTION value=PE>Prince Eard Island</OPTION> 

        <OPTION value=QC class=f-textName>Quebec</OPTION> 

        <OPTION value=SK class=f-textName>Saskatchewan</OPTION> 

        <OPTION value=YK>Yukon Territory</OPTION> 

        <OPTION value=Other class=f-textName>Other</OPTION></SELECT></DIV>     

       <div align="center"><INPUT class=butt title="Send" type="submit" alt="Send" src="" value="Send"> 

      <INPUT class=butt title="Reset" type="reset" alt="reset" src="" value="Reset"> 

      

       <INPUT type=hidden 



      value=cmVxVzdGZvcnF1b3RlX2Zvcm1fbmFtZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9tZXNzYWdlLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2VtYWlsLHJlcXVlc3Rmb3Jx90ZV9mb3JtX3Bob25lLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2NvbXBhbnkscmVxVzdGZvcnF1b3RlX2Zvcm1fZmlsZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9hZGRpbmZv 



      name=_it_fs></FORM></div>

      </em></DIV></DIV></TD></TR></TBODY></TABLE></DIV></DIV>

      <DIV style="PADDING-BOTTOM: 5px">The reports/documents listed on this page reflect the opinion of the individual authors and do not necessarily reflect the opinions of the Canadian Apprenticeship Forum – Forum canadien sur l’apprentissage (CAF-FCA).</DIV>

      </DIV><BR><BR>

<BR><BR><BR></DIV></DIV>



          <DIV class=right>

      <DIV class=position>

      <SCRIPT type=text/javascript>

<!--

function add_to_fav() {

var ua=navigator.userAgent.toLowerCase();

if ((ua.indexOf("msie")!=-1) && (ua.indexOf("opera")==-1) && (ua.indexOf("webtv")==-1))

window.external.addFavorite(window.location.href, 'Canadian Apprenticeship Forum WebSite');

else alert("Press Ctrl+D to add site in favorites");

}

-->

</SCRIPT>





      <img src="http://www.caf-fca.org/en/ii/ico_fav.gif"><A onClick="add_to_fav(); return false;" 

      href="http://www.caf-fca.org/"> Add to Favorites</A> | <img src="http://www.caf-fca.org/en/ii/ico_send.gif">

      

      <A HREF="http://www.caf-fca.org/en/tell_a_friend/default.asp">Tell a Friend</A>

      <!--<A 

      onclick="javascript:popup_view(this.href+'params/?page_url='+document.location.href,500,330,this.target); return false" 

      href="http://www.caf-fca.org/en/tell_a_friend/default.asp" target=send_friend> Send to 

      Friend</A>--><br><br>

      <!-- Right Side --> 

      <!--#include file="../includes/rightside.htm" -->

      <!-- End Right Side -->

      </TD></TR>

  <TR>

    <TD>

      <DIV class=wrapper>

      <DIV id=map>

      <DIV class=container>

      <DIV class=left></DIV>

      <DIV class=content>

      <DIV class=main><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/who_we_are/">Who We Are</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/what_we_do/">What We Do</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/activities/">Current Activities</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>|</SPAN> 

      <A 

      href="http://www.caf-fca.org/en/events/">Events</A><SPAN>|</SPAN> 

      <A href="http://www.caf-fca.org/en/media/">Media</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/links/">Directories & Links</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/faqs/">FAQs</A> </DIV></DIV></DIV>

      <DIV class=right></DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=footer>

      <DIV class=container>

      <DIV class=content>

      <DIV class=main>Copyright © 2000 - 2010, <B>Canadian Apprenticeship Forum - <A 

      href="http://www.caf-fca.org/en/policy/">Privacy Policy.</A></B><BR>

   	  This website is funded by the Government of Canada's Sector Council Program.</P></DIV></DIV></DIV>

      <DIV class=right>

      <DIV class=pos>

      <DIV style="PADDING-TOP: 5px">Last updated on <strong>November 9, 2010</strong><br>

      <a href="mailto:elie_azzi@caf-fca.org">webmaster</a> &nbsp;|&nbsp; <a href="mailto:info@caf-fca.org">contact us</a></DIV></DIV></DIV></DIV></DIV>

      

    </TD></TR></TBODY></TABLE><!-- START OF SmartSource Data Collector TAG -->

<!-- Copyright (c) 1996-2009 WebTrends Inc.  All rights reserved. -->

<!-- Version: 8.6.2 -->

<!-- Tag Builder Version: 3.0  -->

<!-- Created: 6/16/2009 2:36:13 PM -->

<script src="/scripts/webtrends.js" type="text/javascript"></script>

<!-- ----------------------------------------------------------------------------------- -->

<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->

<!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->

<!-- ----------------------------------------------------------------------------------- -->

<script type="text/javascript">

//<![CDATA[

var _tag=new WebTrends();

_tag.dcsGetId();

//]]>>

</script>

<script type="text/javascript">

//<![CDATA[

// Add custom parameters here.

//_tag.DCSext.param_name=param_value;

_tag.dcsCollect();

//]]>>

</script>

<noscript>

<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcss1oy8d00000w49zjpjvq1h_6b5l/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"/></div>

</noscript>

<!-- END OF SmartSource Data Collector TAG --></BODY></HTML>

Open in new window

0
 

Author Comment

by:elieazzi
ID: 34142468
Honguin:
http://www.caf-fca.org/en/reports/apprenticeship_transition.asp

Here is your code below and your backend code...  Please advice...



Honguin FRONT code:

=======================

http://www.caf-fca.org/en/reports/apprenticeship_transition.asp

========================================================

==========================================================



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Canadian Apprenticeship Forum -- Reports & Resources -- High School to Apprenticeship Transition: Identifying and Sharing Best Practices</TITLE>

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

<META 

content="The Canadian Apprenticeship Forum , Forum, canadien sur l’apprentissage (CAF-FCA), not-for-profit, organization, promotes and supports, apprenticeship training, education, systems, Canada." 

name=keywords>

<META 

content="CAF-FCA includes representatives of the following constituent groups: Business , Labour , Interprovincial Alliance of Apprenticeship Board chairs (IPA) , Educators , Persons with disabilities , Women , Visible minorities , Aboriginal persons ,

The Canadian Council of Directors of Apprenticeship (CCDA), and Human Resources and Skills Development Canada (HRSDC)." 

name=description><LINK href="/images/favicon.ico" type=image/x-icon 

rel=icon><LINK href="/images/favicon.ico" type=image/x-icon 

rel="shortcut icon"><LINK href="http://www.caf-fca.org/en/ss/styles.css" type=text/css 

rel=stylesheet>

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/f.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/interface.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/browsers.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns_nav.htm" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/scripts/webtrends.js" 

type=text/JavaScript></SCRIPT>



<STYLE type=text/css>#logo {

	TOP: 85px

}

</STYLE>

<script type="text/javascript"> 

   function checkForm(theForm){

    if(theForm.industrycategory.selectedIndex ==0){

    alert("You must select a option from Industry category.");

    return false;

  }

 

  if(theForm.txtprovince.selectedIndex ==0){

    alert("You must select a region from province / territory.");

    return false;

  }

	

return true;

}	

	  function showDiv() {

                var x = document.getElementById('industrycategory').value;

                  if (x=='Employer/Private/Transportation' || x=='Employer/Private/Construction' || x=='Employer/Private/Manufacturing' || x=='Employer/Private/Service'){

                                document.getElementById('detail').style.display='block';

                               

document.getElementById('other').style.display='none';

                        }

else if (x=='Other') {

document.getElementById('other').style.display='block';

document.getElementById('detail').style.display='none';



}

                else {

                        document.getElementById('detail').style.display='none';

                      

document.getElementById('other').style.display='none';

                        }

                

                }

 

 

</script> 



<META content="MSHTML 6.00.6000.16711" name=GENERATOR></HEAD>

<BODY>



<TABLE id=table_outer cellSpacing=0 cellPadding=0 align=center>

  <TBODY>

  <TR class=top vAlign=top>

    <TD>

    <DIV class=wrapper>

      <DIV id=top_inner>

      <!--<DIV class=left>

      <DIV class=item><A href="http://www.caf-fca.org/en/">Home</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/site-map/">Site Map</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/contact/">Contact Us</A></DIV></DIV>-->

      <DIV class=right><A 

      href="http://www.caf-fca.org/en/site-map/">Site Map</A><SPAN>|</SPAN><!--<A 

      href="http://www.caf-fca.org/en/search/">Search</A><SPAN>|</SPAN>--><A 

      href="http://www.caf-fca.org/en/contact/">Contact us</A><SPAN>|</SPAN><A 

      href="http://www.caf-fca.org/fr/rapports/pratiques_exemplaires.asp">Français</A></DIV></DIV></DIV>

      <!--    <DIV class=wrapper>

      <DIV id=header>

      <DIV class=left><img src="http://www.caf-fca.org/en/ii/bg_header_1.gif"></DIV>

      <DIV class=right>

      <DIV class=position>

      <DIV style="WIDTH: 300px">

      <DIV id=header_informer>

      <DIV class=conteiner><IMG src="http://www.caf-fca.org/en/ii/b_hd_inf_title.png" > 

      <DIV style="PADDING-TOP: 2px"><SPAN style="FONT-SIZE: 11pt"><br>

&nbsp;

</SPAN> </DIV></DIV>

     </DIV></DIV></DIV></DIV></DIV></DIV>-->

       <DIV class=wrapper>

      <DIV id=header>

      <DIV class=conteiner><img src="http://www.caf-fca.org/en/ii/bg_header_11.jpg"></DIV>

      <DIV id=header_informer>      

     </DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=main_nav>

      <DIV class=container>

      <DIV class=left>

      <DIV id=logo>

      <DIV class=logo_position><IMG id=logo_img 

      title="CAF - Canadian Apprenticeship Forum" 

      alt="CAF - Canadian Apprenticeship Forum" 

      src="http://www.caf-fca.org/en/ii/x.gif"></DIV></DIV>

      </DIV>

       <!-- Quick Jump --> 

      <!--#include file="../includes/topmenu.htm" -->

      <!-- End Quick -->

      <DIV class=wrapper>

      <DIV id=body>

      <DIV class=container>

      <DIV class=left>

      <DIV class=position>

      <DIV class=informer_block>

      <DIV class=hd>

      <DIV class=inner>

      <DIV class=title><IMG title="Current activities" alt="Current activities" 

      src="http://www.caf-fca.org/en/ii/reports_and_ressources_box.png" align=middle></DIV></DIV></DIV>

      <DIV class=left_b>

      <DIV class=right_b>

     <DIV class=informer_content>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/">Reports and Resources</A></DIV>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/newsletter/">Newsletters</a></DIV>

     <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/conference_reports.asp">Conference Reports</A></DIV></DIV>

      <DIV class=bottom>

      <DIV class=inner>      

      <DIV class=bg>&nbsp;</DIV></DIV></DIV></DIV></DIV></DIV><BR>

      <!-- Images Right Side -->

             <!-- Quick Jump --> 

      <!--#include file="../includes/quicklinks.htm" -->

      <!-- End Quick --><br>

      

     <!-- Quick Links --> 

      <!--#include file="../includes/quickjump.htm" -->

      <!-- End Quick Links -->

     </DIV></DIV>

	 <DIV class=content>

      <DIV class=main>     

      <DIV id=path><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>/</SPAN><A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>/</SPAN>High School to Apprenticeship Transition</DIV>

       

      <P><SPAN style="FONT-SIZE: 13pt"><FONT color=#00a2b1>Reports & Resources Download Form</FONT></SPAN><!--<IMG title="Boards of directors" alt="Boards of directors" 

      src="http://www.caf-fca.org/en/ii/BoardOfDirectors_PT.png">--></P>

	  	  	<p class="byline" align="justify">We would appreciate it if prior to downloading CAF-FCA’s reports, you would identify your stakeholder group and province/territory.  This information is for internal purposes only and will not be shared.  It is intended to help CAF-FCA better trace its impact and value within the apprenticeship community.  Any comments you may have on the influence or impact of CAF-FCA’s work are truly appreciated.  Share your thoughts by contacting <a href="mailto:dylan_shields@caf-fca.org">dylan_shields@caf-fca.org</a>. 



</p>   

      <DIV class=portfolio_section>

      <DIV class=hd>High School to Apprenticeship Transition: Identifying and Sharing Best Practices</DIV>

      <DIV class=properties>      

<TABLE cellSpacing=0 cellPadding=0 border=0>

        <TBODY>

        <TR>

          <TD>

            <DIV class=left_block><A 

            onclick="view_picure ('http://www.caf-fca.org/en/ii/apprenticeshiptransition.jpg', 465, 599, 'view_picure'); return false" 

            href="Identifying and Sharing Best Practices"><IMG 

            title="Identifying and Sharing Best Practices" alt="Identifying and Sharing Best Practices" 

            src="../ii/apprenticeship_transition.jpg"></A> </DIV></TD>

          <TD>

          

                       <form style="100%" name="YourFormName" method="Post" action="cf_apprenticeship_transition.asp" onSubmit="return checkForm(this);"> 

            <DIV class=right_block> 

            <DIV class=highligts><font color="red"><b>*</b></font> denotes required field</DIV>            

           <DIV class=item><SPAN class=title><b><font color="red"><b> * </b></font>Industry category : </SPAN> 

            <SELECT name="industrycategory" class=f-textName id="industrycategory" onChange="showDiv ();"> 

        <OPTION value="" selected class=f-textName>Select One</OPTION> 

        <OPTION value="Apprentices" class=f-textName>Apprentices</OPTION> 

        <OPTION value="Business / Employer Associations" class=f-textName>Business / Employer Associations</OPTION> 

        <OPTION value="Educators High School" class=f-textName>Educators High School</OPTION> 

        <OPTION value="Educators Post-Secondary" class=f-textName>Educators Post-Secondary</OPTION> 

            <OPTION value="Employees / Journeypersons" class=f-textName>Employees/Journeypersons</OPTION> 

            <OPTION value="Employer/Private/Construction" class=f-textName>Employer/Private/Construction</OPTION> 

            <OPTION value="Employer/Private/Manufacturing" class=f-textName>Employer/Private/Manufacturing</OPTION> 

            <OPTION value="Employer/Private/Service" class=f-textName>Employer/Private/Service</OPTION> 

        <OPTION value="Employer/Private/Transportation" class=f-textName>Employer/Private/Transportation</OPTION> 

        <OPTION value="Employer Public Sector" class=f-textName>Employer Public Sector</OPTION>            

        <OPTION value="Governments" class=f-textName>Governments</OPTION> 

        <OPTION value="Labour" class=f-textName>Labour</OPTION>            

        <OPTION value="NGOs" class=f-textName>NGOs</OPTION> 

        <OPTION value="Unions" class=f-textName>Unions</OPTION> 

        <OPTION value="Parents" class=f-textName>Parents</OPTION> 

        <OPTION value="Research Organizations" class=f-textName>Research Organizations</OPTION> 

        <OPTION value="Sector Councils" class=f-textName>Sector Councils</OPTION> 

        <OPTION value="Students" class=f-textName>Students</OPTION> 

        <OPTION value="Other" class=f-textName>Other</OPTION></SELECT></DIV> 

            <DIV class=item style="display:none;" id="detail"> 

            <SPAN class=title><b>&nbsp;&nbsp;Do you hire apprentices at the present time :</b></SPAN> 

           <INPUT class="button2" tabIndex=30 type=radio value="1" name=specialreq> Yes 

            <INPUT class="button2"  tabIndex=30 type=radio value="0" name=specialreq> No 

            

            

            </div> 

              

        <DIV class=item id="other" style="display:none;"><SPAN class=title><b><font color="red"><b> * </b></font>Other Industry category : </SPAN> 

        <input class=f-textName name="otherIndustryCategory" type="text" id="otherIndustryCategory" size="40"></span></div> 

        

        <DIV class="item last" id="itemlast"><SPAN class=title><b><font color="red"><b> * </b></font>Province/Territory :</SPAN> 

        <SELECT name="txtprovince" class=f-textName> 

        <OPTION value="" selected>Select One</OPTION> 

        <OPTION value=AB class=f-textName>Alberta</OPTION> 

        <OPTION value=BC class=f-textName>British Columbia</OPTION> 

        <OPTION value=MB class=f-textName>Manitoba</OPTION> 

        <OPTION value=NB class=f-textName>New Brunswick</OPTION> 

        <OPTION value=NF class=f-textName>Newfoundland and Labrador</OPTION> 

        <OPTION value=NT class=f-textName>Northwest Territories</OPTION> 

        <OPTION value=NS class=f-textName>Nova Scotia</OPTION> 

        <OPTION value=NU>Nunavut</OPTION> 

        <OPTION value=ON class=f-textName>Ontario</OPTION> 

        <OPTION value=PE>Prince Eard Island</OPTION> 

        <OPTION value=QC class=f-textName>Quebec</OPTION> 

        <OPTION value=SK class=f-textName>Saskatchewan</OPTION> 

        <OPTION value=YK>Yukon Territory</OPTION> 

        <OPTION value=Other class=f-textName>Other</OPTION></SELECT></DIV>     

       <div align="center"><INPUT class=butt title="Send" type="submit" alt="Send" src="" value="Send"> 

      <INPUT class=butt title="Reset" type="reset" alt="reset" src="" value="Reset"> 

      

       <INPUT type=hidden 



      value=cmVxVzdGZvcnF1b3RlX2Zvcm1fbmFtZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9tZXNzYWdlLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2VtYWlsLHJlcXVlc3Rmb3Jx90ZV9mb3JtX3Bob25lLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2NvbXBhbnkscmVxVzdGZvcnF1b3RlX2Zvcm1fZmlsZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9hZGRpbmZv 



      name=_it_fs></FORM></div>

      </em></DIV></DIV></TD></TR></TBODY></TABLE></DIV></DIV>

      <DIV style="PADDING-BOTTOM: 5px">The reports/documents listed on this page reflect the opinion of the individual authors and do not necessarily reflect the opinions of the Canadian Apprenticeship Forum – Forum canadien sur l’apprentissage (CAF-FCA).</DIV>

      </DIV><BR><BR>

<BR><BR><BR></DIV></DIV>



          <DIV class=right>

      <DIV class=position>

      <SCRIPT type=text/javascript>

<!--

function add_to_fav() {

var ua=navigator.userAgent.toLowerCase();

if ((ua.indexOf("msie")!=-1) && (ua.indexOf("opera")==-1) && (ua.indexOf("webtv")==-1))

window.external.addFavorite(window.location.href, 'Canadian Apprenticeship Forum WebSite');

else alert("Press Ctrl+D to add site in favorites");

}

-->

</SCRIPT>





      <img src="http://www.caf-fca.org/en/ii/ico_fav.gif"><A onClick="add_to_fav(); return false;" 

      href="http://www.caf-fca.org/"> Add to Favorites</A> | <img src="http://www.caf-fca.org/en/ii/ico_send.gif">

      

      <A HREF="http://www.caf-fca.org/en/tell_a_friend/default.asp">Tell a Friend</A>

      <!--<A 

      onclick="javascript:popup_view(this.href+'params/?page_url='+document.location.href,500,330,this.target); return false" 

      href="http://www.caf-fca.org/en/tell_a_friend/default.asp" target=send_friend> Send to 

      Friend</A>--><br><br>

      <!-- Right Side --> 

      <!--#include file="../includes/rightside.htm" -->

      <!-- End Right Side -->

      </TD></TR>

  <TR>

    <TD>

      <DIV class=wrapper>

      <DIV id=map>

      <DIV class=container>

      <DIV class=left></DIV>

      <DIV class=content>

      <DIV class=main><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/who_we_are/">Who We Are</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/what_we_do/">What We Do</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/activities/">Current Activities</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>|</SPAN> 

      <A 

      href="http://www.caf-fca.org/en/events/">Events</A><SPAN>|</SPAN> 

      <A href="http://www.caf-fca.org/en/media/">Media</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/links/">Directories & Links</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/faqs/">FAQs</A> </DIV></DIV></DIV>

      <DIV class=right></DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=footer>

      <DIV class=container>

      <DIV class=content>

      <DIV class=main>Copyright © 2000 - 2010, <B>Canadian Apprenticeship Forum - <A 

      href="http://www.caf-fca.org/en/policy/">Privacy Policy.</A></B><BR>

   	  This website is funded by the Government of Canada's Sector Council Program.</P></DIV></DIV></DIV>

      <DIV class=right>

      <DIV class=pos>

      <DIV style="PADDING-TOP: 5px">Last updated on <strong>November 9, 2010</strong><br>

      <a href="mailto:elie_azzi@caf-fca.org">webmaster</a> &nbsp;|&nbsp; <a href="mailto:info@caf-fca.org">contact us</a></DIV></DIV></DIV></DIV></DIV>

      

    </TD></TR></TBODY></TABLE><!-- START OF SmartSource Data Collector TAG -->

<!-- Copyright (c) 1996-2009 WebTrends Inc.  All rights reserved. -->

<!-- Version: 8.6.2 -->

<!-- Tag Builder Version: 3.0  -->

<!-- Created: 6/16/2009 2:36:13 PM -->

<script src="/scripts/webtrends.js" type="text/javascript"></script>

<!-- ----------------------------------------------------------------------------------- -->

<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->

<!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->

<!-- ----------------------------------------------------------------------------------- -->

<script type="text/javascript">

//<![CDATA[

var _tag=new WebTrends();

_tag.dcsGetId();

//]]>>

</script>

<script type="text/javascript">

//<![CDATA[

// Add custom parameters here.

//_tag.DCSext.param_name=param_value;

_tag.dcsCollect();

//]]>>

</script>

<noscript>

<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcss1oy8d00000w49zjpjvq1h_6b5l/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"/></div>

</noscript>

<!-- END OF SmartSource Data Collector TAG --></BODY></HTML>







=================================================================

=================================================================

Honguin Backend code:

 

=========================



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Canadian Apprenticeship Forum -- Reports & Resources -- High School to Apprenticeship Transition: Identifying and Sharing Best Practices</TITLE>

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

<META 

content="The Canadian Apprenticeship Forum , Forum, canadien sur l’apprentissage (CAF-FCA), not-for-profit, organization, promotes and supports, apprenticeship training, education, systems, Canada." 

name=keywords>

<META 

content="CAF-FCA includes representatives of the following constituent groups: Business , Labour , Interprovincial Alliance of Apprenticeship Board chairs (IPA) , Educators , Persons with disabilities , Women , Visible minorities , Aboriginal persons ,

The Canadian Council of Directors of Apprenticeship (CCDA), and Human Resources and Skills Development Canada (HRSDC)." 

name=description><LINK href="/images/favicon.ico" type=image/x-icon 

rel=icon><LINK href="/images/favicon.ico" type=image/x-icon 

rel="shortcut icon"><LINK href="http://www.caf-fca.org/en/ss/styles.css" type=text/css 

rel=stylesheet>

<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/f.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/interface.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/browsers.js" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/en/ss/dropdowns_nav.htm" 

type=text/JavaScript></SCRIPT>



<SCRIPT language=JavaScript src="http://www.caf-fca.org/scripts/webtrends.js" 

type=text/JavaScript></SCRIPT>



<STYLE type=text/css>#logo {

	TOP: 85px

}

</STYLE>

<script type="text/javascript"> 

   function checkForm(theForm){

    if(theForm.industrycategory.selectedIndex ==0){

    alert("You must select a option from Industry category.");

    return false;

  }

 

  if(theForm.txtprovince.selectedIndex ==0){

    alert("You must select a region from province / territory.");

    return false;

  }

	

return true;

}	

	  function showDiv() {

                var x = document.getElementById('industrycategory').value;

                  if (x=='Employer/Private/Transportation' || x=='Employer/Private/Construction' || x=='Employer/Private/Manufacturing' || x=='Employer/Private/Service'){

                                document.getElementById('detail').style.display='block';

                               

document.getElementById('other').style.display='none';

                        }

else if (x=='Other') {

document.getElementById('other').style.display='block';

document.getElementById('detail').style.display='none';



}

                else {

                        document.getElementById('detail').style.display='none';

                      

document.getElementById('other').style.display='none';

                        }

                

                }

 

 

</script> 



<META content="MSHTML 6.00.6000.16711" name=GENERATOR></HEAD>

<BODY>



<TABLE id=table_outer cellSpacing=0 cellPadding=0 align=center>

  <TBODY>

  <TR class=top vAlign=top>

    <TD>

    <DIV class=wrapper>

      <DIV id=top_inner>

      <!--<DIV class=left>

      <DIV class=item><A href="http://www.caf-fca.org/en/">Home</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/site-map/">Site Map</A></DIV>

      <DIV class=item><A href="http://www.caf-fca.org/en/contact/">Contact Us</A></DIV></DIV>-->

      <DIV class=right><A 

      href="http://www.caf-fca.org/en/site-map/">Site Map</A><SPAN>|</SPAN><!--<A 

      href="http://www.caf-fca.org/en/search/">Search</A><SPAN>|</SPAN>--><A 

      href="http://www.caf-fca.org/en/contact/">Contact us</A><SPAN>|</SPAN><A 

      href="http://www.caf-fca.org/fr/rapports/pratiques_exemplaires.asp">Français</A></DIV></DIV></DIV>

      <!--    <DIV class=wrapper>

      <DIV id=header>

      <DIV class=left><img src="http://www.caf-fca.org/en/ii/bg_header_1.gif"></DIV>

      <DIV class=right>

      <DIV class=position>

      <DIV style="WIDTH: 300px">

      <DIV id=header_informer>

      <DIV class=conteiner><IMG src="http://www.caf-fca.org/en/ii/b_hd_inf_title.png" > 

      <DIV style="PADDING-TOP: 2px"><SPAN style="FONT-SIZE: 11pt"><br>

&nbsp;

</SPAN> </DIV></DIV>

     </DIV></DIV></DIV></DIV></DIV></DIV>-->

       <DIV class=wrapper>

      <DIV id=header>

      <DIV class=conteiner><img src="http://www.caf-fca.org/en/ii/bg_header_11.jpg"></DIV>

      <DIV id=header_informer>      

     </DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=main_nav>

      <DIV class=container>

      <DIV class=left>

      <DIV id=logo>

      <DIV class=logo_position><IMG id=logo_img 

      title="CAF - Canadian Apprenticeship Forum" 

      alt="CAF - Canadian Apprenticeship Forum" 

      src="http://www.caf-fca.org/en/ii/x.gif"></DIV></DIV>

      </DIV>

       <!-- Quick Jump --> 

      <!--#include file="../includes/topmenu.htm" -->

      <!-- End Quick -->

      <DIV class=wrapper>

      <DIV id=body>

      <DIV class=container>

      <DIV class=left>

      <DIV class=position>

      <DIV class=informer_block>

      <DIV class=hd>

      <DIV class=inner>

      <DIV class=title><IMG title="Current activities" alt="Current activities" 

      src="http://www.caf-fca.org/en/ii/reports_and_ressources_box.png" align=middle></DIV></DIV></DIV>

      <DIV class=left_b>

      <DIV class=right_b>

     <DIV class=informer_content>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/">Reports and Resources</A></DIV>

      <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/newsletter/">Newsletters</a></DIV>

     <DIV class=simple_link1 style="MARGIN-LEFT: 0px"><A 

      href="http://www.caf-fca.org/en/reports/conference_reports.asp">Conference Reports</A></DIV></DIV>

      <DIV class=bottom>

      <DIV class=inner>      

      <DIV class=bg>&nbsp;</DIV></DIV></DIV></DIV></DIV></DIV><BR>

      <!-- Images Right Side -->

             <!-- Quick Jump --> 

      <!--#include file="../includes/quicklinks.htm" -->

      <!-- End Quick --><br>

      

     <!-- Quick Links --> 

      <!--#include file="../includes/quickjump.htm" -->

      <!-- End Quick Links -->

     </DIV></DIV>

	 <DIV class=content>

      <DIV class=main>     

      <DIV id=path><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>/</SPAN><A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>/</SPAN>High School to Apprenticeship Transition: Identifying and Sharing Best Practices</DIV>

       

      <P><SPAN style="FONT-SIZE: 13pt"><FONT color=#00a2b1>Reports & Resources Downloads</FONT></SPAN><!--<IMG title="Boards of directors" alt="Boards of directors" 

      src="http://www.caf-fca.org/en/ii/BoardOfDirectors_PT.png">--></P>

	  	  <!--<p class="byline" align="justify">CAF-FCA held six forums with employers from across the country to discuss the business case for apprenticeship. This report summarizes employers comments and includes employer directed strategies for increasing employer participation in apprenticeship training.</p>-->

<!-- i remove the if from here -->              



          

 

      <DIV class=portfolio_section>

      <DIV class=hd>High School to Apprenticeship Transition:</DIV>

      <DIV class=properties>      

<TABLE cellSpacing=0 cellPadding=0 border=0>

        <TBODY>

        <TR>

          <TD>

            <DIV class=left_block><A 

            onclick="view_picure ('http://www.caf-fca.org/en/ii/apprenticeshiptransition.jpg', 465, 599, 'view_picure'); return false" 

            href="High School to Apprenticeship Transition: Identifying and Sharing Best Practices"><IMG 

            title="High School to Apprenticeship Transition: Identifying and Sharing Best Practices" alt="High School to Apprenticeship Transition: Identifying and Sharing Best Practices" 

            src="../ii/apprenticeship_transition.jpg"></A> </DIV></TD>

          <TD>

		  <% If Trim(Request.Form("industrycategory")) <> "" Then %>

            <DIV class=right_block>

            <DIV class=highligts> Identifying and Sharing Best Practices</DIV>

            <DIV class=item><SPAN class=title>Release Date:</SPAN> May 2010</DIV>

            <DIV class=item><SPAN class=title>Number of pages:</SPAN> 10 pages </DIV>

            <DIV class=item><SPAN class=title>Size: </SPAN> 145 MB </DIV>

         

 

            <DIV class="item last"><SPAN class=title>Download: </SPAN>&nbsp; <A 

      href="http://www.caf-fca.org/en/reports/pdf/apprenticeship_transition_en.pdf" target="_blank">PDF</A>   <!--| <em>HTML coming soon</em>--></DIV></DIV>

        <%End If %>

      </TD></TR></TBODY></TABLE></DIV></DIV>

      <DIV style="PADDING-BOTTOM: 5px">The reports/documents listed on this page reflect the opinion of the individual authors and do not necessarily reflect the opinions of the Canadian Apprenticeship Forum  Forum canadien sur lapprentissage (CAF-FCA).</DIV>

      </DIV><BR><BR>

<BR><BR><BR></DIV></DIV>

 

          <DIV class=right>

      <DIV class=position>

      <SCRIPT type=text/javascript>

<!--

function add_to_fav() {

var ua=navigator.userAgent.toLowerCase();

if ((ua.indexOf("msie")!=-1) && (ua.indexOf("opera")==-1) && (ua.indexOf("webtv")==-1))

window.external.addFavorite(window.location.href, 'Canadian Apprenticeship Forum WebSite');

else alert("Press Ctrl+D to add site in favorites");

}

-->

</SCRIPT>

 

 

      <img src="http://www.caf-fca.org/en/ii/ico_fav.gif"><A onClick="add_to_fav(); return false;" 

      href="http://www.caf-fca.org/"> Add to Favorites</A> | <img src="http://www.caf-fca.org/en/ii/ico_send.gif">

      

      <A HREF="http://www.caf-fca.org/en/tell_a_friend/default.asp">Tell a Friend</A>

      <!--<A 

      onclick="javascript:popup_view(this.href+'params/?page_url='+document.location.href,500,330,this.target); return false" 

      href="http://www.caf-fca.org/en/tell_a_friend/default.asp" target=send_friend> Send to 

      Friend</A>--><br><br>

      <!-- Right Side --> 

      <!--#include file="../includes/rightside.htm" -->

      <!-- End Right Side -->

      </TD></TR>

  <TR>

    <TD>

      <DIV class=wrapper>

      <DIV id=map>

      <DIV class=container>

      <DIV class=left></DIV>

      <DIV class=content>

      <DIV class=main><A 

      href="http://www.caf-fca.org/en/">Home</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/who_we_are/">Who We Are</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/what_we_do/">What We Do</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/activities/">Current Activities</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/reports/">Reports & Resources</A><SPAN>|</SPAN> 

      <A 

      href="http://www.caf-fca.org/en/events/">Events</A><SPAN>|</SPAN> 

      <A href="http://www.caf-fca.org/en/media/">Media</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/links/">Directories & Links</A><SPAN>|</SPAN> <A 

      href="http://www.caf-fca.org/en/faqs/">FAQs</A> </DIV></DIV></DIV>

      <DIV class=right></DIV></DIV></DIV>

      <DIV class=wrapper>

      <DIV id=footer>

      <DIV class=container>

      <DIV class=content>

      <DIV class=main>Copyright © 2000 - 2009, <B>Canadian Apprenticeship Forum - <A 

      href="http://www.caf-fca.org/en/policy/">Privacy Policy.</A></B><BR>

   	  This website is funded by the Government of Canada's Sector Council Program.</P></DIV></DIV></DIV>

      <DIV class=right>

      <DIV class=pos>

      <DIV style="PADDING-TOP: 5px">Last updated on <strong>May 12, 2010</strong><br>

      <a href="mailto:elie_azzi@caf-fca.org">webmaster</a> &nbsp;|&nbsp; <a href="mailto:info@caf-fca.org">contact us</a></DIV></DIV></DIV></DIV></DIV>

      

    </TD></TR></TBODY></TABLE><!-- START OF SmartSource Data Collector TAG -->

<!-- Copyright (c) 1996-2009 WebTrends Inc.  All rights reserved. -->

<!-- Version: 8.6.2 -->

<!-- Tag Builder Version: 3.0  -->

<!-- Created: 6/16/2009 2:36:13 PM -->

<script src="/scripts/webtrends.js" type="text/javascript"></script>

<!-- ----------------------------------------------------------------------------------- -->

<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->

<!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->

<!-- ----------------------------------------------------------------------------------- -->

<script type="text/javascript">

//<![CDATA[

var _tag=new WebTrends();

_tag.dcsGetId();

//]]>>

</script>

<script type="text/javascript">

//<![CDATA[

// Add custom parameters here.

//_tag.DCSext.param_name=param_value;

_tag.dcsCollect();

//]]>>

</script>

<noscript>

<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://statse.webtrendslive.com/dcss1oy8d00000w49zjpjvq1h_6b5l/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"/></div>

</noscript>

<!-- END OF SmartSource Data Collector TAG --></BODY>

		  <% If Trim(Request.Form("industrycategory")) = "" Then %>

		  <script type="text/javascript">

		      alert("In order to request a PDF document you should file this form at http://www.caf-fca.org/en/reports/_employer_participationn.asp");

		  </script>

		  <% End If %>

    </HTML>

Open in new window

0
 
LVL 33

Expert Comment

by:hongjun
ID: 34145954
I think it is pretty difficult if you keep posting entire code without you understanding what you are doing yourself.

I suggest you read the basics of ASP. I am serious.

hongjun
0
 

Author Comment

by:elieazzi
ID: 34151916
Okay Guys,

This is the forms... As you know it's working but i'd like to receive an email are you able to help or i will delete the question ?

http://www.caf-fca.org/en/reports/apprenticeship_transition.asp
http://www.caf-fca.org/en/reports/cf_apprenticeship_transition.asp


<form style="100%" name="YourFormName" method="Post" action="cf_apprenticeship_transition.asp" onSubmit="return checkForm(this);"> 

            <DIV class=right_block> 

            <DIV class=highligts><font color="red"><b>*</b></font> denotes required field</DIV>            

           <DIV class=item><SPAN class=title><b><font color="red"><b> * </b></font>Industry category : </SPAN> 

            <SELECT name="industrycategory" class=f-textName id="industrycategory" onChange="showDiv ();"> 

        <OPTION value="" selected class=f-textName>Select One</OPTION> 

        <OPTION value="Apprentices" class=f-textName>Apprentices</OPTION> 

        <OPTION value="Business / Employer Associations" class=f-textName>Business / Employer Associations</OPTION> 

        <OPTION value="Educators High School" class=f-textName>Educators High School</OPTION> 

        <OPTION value="Educators Post-Secondary" class=f-textName>Educators Post-Secondary</OPTION> 

            <OPTION value="Employees / Journeypersons" class=f-textName>Employees/Journeypersons</OPTION> 

            <OPTION value="Employer/Private/Construction" class=f-textName>Employer/Private/Construction</OPTION> 

            <OPTION value="Employer/Private/Manufacturing" class=f-textName>Employer/Private/Manufacturing</OPTION> 

            <OPTION value="Employer/Private/Service" class=f-textName>Employer/Private/Service</OPTION> 

        <OPTION value="Employer/Private/Transportation" class=f-textName>Employer/Private/Transportation</OPTION> 

        <OPTION value="Employer Public Sector" class=f-textName>Employer Public Sector</OPTION>            

        <OPTION value="Governments" class=f-textName>Governments</OPTION> 

        <OPTION value="Labour" class=f-textName>Labour</OPTION>            

        <OPTION value="NGOs" class=f-textName>NGOs</OPTION> 

        <OPTION value="Unions" class=f-textName>Unions</OPTION> 

        <OPTION value="Parents" class=f-textName>Parents</OPTION> 

        <OPTION value="Research Organizations" class=f-textName>Research Organizations</OPTION> 

        <OPTION value="Sector Councils" class=f-textName>Sector Councils</OPTION> 

        <OPTION value="Students" class=f-textName>Students</OPTION> 

        <OPTION value="Other" class=f-textName>Other</OPTION></SELECT></DIV> 

            <DIV class=item style="display:none;" id="detail"> 

            <SPAN class=title><b>&nbsp;&nbsp;Do you hire apprentices at the present time :</b></SPAN> 

           <INPUT class="button2" tabIndex=30 type=radio value="1" name=specialreq> Yes 

            <INPUT class="button2"  tabIndex=30 type=radio value="0" name=specialreq> No 

            

            

            </div> 

              

        <DIV class=item id="other" style="display:none;"><SPAN class=title><b><font color="red"><b> * </b></font>Other Industry category : </SPAN> 

        <input class=f-textName name="otherIndustryCategory" type="text" id="otherIndustryCategory" size="40"></span></div> 

        

        <DIV class="item last" id="itemlast"><SPAN class=title><b><font color="red"><b> * </b></font>Province/Territory :</SPAN> 

        <SELECT name="txtprovince" class=f-textName> 

        <OPTION value="" selected>Select One</OPTION> 

        <OPTION value=AB class=f-textName>Alberta</OPTION> 

        <OPTION value=BC class=f-textName>British Columbia</OPTION> 

        <OPTION value=MB class=f-textName>Manitoba</OPTION> 

        <OPTION value=NB class=f-textName>New Brunswick</OPTION> 

        <OPTION value=NF class=f-textName>Newfoundland and Labrador</OPTION> 

        <OPTION value=NT class=f-textName>Northwest Territories</OPTION> 

        <OPTION value=NS class=f-textName>Nova Scotia</OPTION> 

        <OPTION value=NU>Nunavut</OPTION> 

        <OPTION value=ON class=f-textName>Ontario</OPTION> 

        <OPTION value=PE>Prince Eard Island</OPTION> 

        <OPTION value=QC class=f-textName>Quebec</OPTION> 

        <OPTION value=SK class=f-textName>Saskatchewan</OPTION> 

        <OPTION value=YK>Yukon Territory</OPTION> 

        <OPTION value=Other class=f-textName>Other</OPTION></SELECT></DIV>     

       <div align="center"><INPUT class=butt title="Send" type="submit" alt="Send" src="" value="Send"> 

      <INPUT class=butt title="Reset" type="reset" alt="reset" src="" value="Reset"> 

      

       <INPUT type=hidden 



      value=cmVxVzdGZvcnF1b3RlX2Zvcm1fbmFtZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9tZXNzYWdlLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2VtYWlsLHJlcXVlc3Rmb3Jx90ZV9mb3JtX3Bob25lLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2NvbXBhbnkscmVxVzdGZvcnF1b3RlX2Zvcm1fZmlsZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9hZGRpbmZv 



      name=_it_fs></FORM>



================================================================

This is the backend code for cf_apprenticeship_transition.asp

================================================================

   <%

If Trim(Request.Form("industrycategory")) <> "" Then

DIM strEmail, strName, strComments, objMail

strName = Request.Form("txtFirstName")

strComments = Request.Form("txtLastName")

 

 Set objMail=CreateObject("CDO.Message")

objMail.From = "download@caf-fca.org"

objMail.Subject = "Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices -- " & Request.Form("txtProvince") 

objMail.To = "abc@caf-fca.org"

objMail.HTMLBody ="<html>" & VBCrLF & "<Title></Title>" & VBCrLf & "<Head></Head>" & VBCrLf & "<Body>" & vbCrLf & _ 

"<h3><center><font color=red>Reports & Resources Download  - High School to Apprenticeship Transition: Identifying and Sharing Best Practices</font></center></h3>" & VBCrLf & _

"<p><strong>Reports:</strong> High School to Apprenticeship Transition: Identifying and Sharing Best Practices" & VBCrLf & VBCrLf & _

"<p><strong>Date Submitted:</strong> " & Now() & VBCrLf & VBCrLf & _

"<h3><font color=Blue>Personal Information:</font></h3>" & VBCrLf & _

"<p><strong>Industry Category:</strong> " & Request.Form("industrycategory") & VBCrLf & VBCrLf & _

"<p><strong>Do you hire apprentices at the present time :</strong> " & Request.Form("specialreq") & VBCrLf & VBCrLf & _

"<p><strong>Other Industry category:</strong> " & Request.Form("otherIndustryCategory") & VBCrLf & VBCrLf & _

"<p><strong>Province:</strong> " & Request.Form("txtprovince") & VBCrLf & VBCrLf & _

"</body>" & VBCrLf & "</html>"

objMail.Send

Set objMail = nothing

 







End If

%>

Open in new window

0
 
LVL 33

Expert Comment

by:hongjun
ID: 34152292
Try removing all occurences of  class=f-textName in <option ... >
And also did you select an item in industrycategory dropdown before you submit?
0
 

Author Comment

by:elieazzi
ID: 34152304
yes of couse... please test it... if you can i can put your email...
0
 

Author Comment

by:elieazzi
ID: 34152309
Where is this my friend page...

Try removing all occurences of  class=f-textName in <option ... >
0
 

Author Comment

by:elieazzi
ID: 34152314
okay i see i'm removing those...
0
 

Author Comment

by:elieazzi
ID: 34152326
I did the change.... see below..

No Errors... Do you think we should install any components on windows 2008 in order to send/deliver the msg ????
<form style="100%" name="YourFormName" method="Post" action="cf_apprenticeship_transition.asp" onSubmit="return checkForm(this);"> 

            <DIV class=right_block> 

            <DIV class=highligts><font color="red"><b>*</b></font> denotes required field</DIV>            

           <DIV class=item><SPAN class=title><b><font color="red"><b> * </b></font>Industry category : </SPAN> 

            <SELECT name="industrycategory"  id="industrycategory" onChange="showDiv ();"> 

        <OPTION value="" selected >Select One</OPTION> 

        <OPTION value="Apprentices" >Apprentices</OPTION> 

        <OPTION value="Business / Employer Associations" class=f-textName>Business / Employer Associations</OPTION> 

        <OPTION value="Educators High School" >Educators High School</OPTION> 

        <OPTION value="Educators Post-Secondary" >Educators Post-Secondary</OPTION> 

            <OPTION value="Employees / Journeypersons" >Employees/Journeypersons</OPTION> 

            <OPTION value="Employer/Private/Construction" >Employer/Private/Construction</OPTION> 

            <OPTION value="Employer/Private/Manufacturing" >Employer/Private/Manufacturing</OPTION> 

            <OPTION value="Employer/Private/Service" >Employer/Private/Service</OPTION> 

        <OPTION value="Employer/Private/Transportation" >Employer/Private/Transportation</OPTION> 

        <OPTION value="Employer Public Sector" >Employer Public Sector</OPTION>            

        <OPTION value="Governments" >Governments</OPTION> 

        <OPTION value="Labour" >Labour</OPTION>            

        <OPTION value="NGOs" >NGOs</OPTION> 

        <OPTION value="Unions" >Unions</OPTION> 

        <OPTION value="Parents" >Parents</OPTION> 

        <OPTION value="Research Organizations" >Research Organizations</OPTION> 

        <OPTION value="Sector Councils" >Sector Councils</OPTION> 

        <OPTION value="Students" >Students</OPTION> 

        <OPTION value="Other" >Other</OPTION></SELECT></DIV> 

            <DIV class=item style="display:none;" id="detail"> 

            <SPAN class=title><b>&nbsp;&nbsp;Do you hire apprentices at the present time :</b></SPAN> 

           <INPUT class="button2" tabIndex=30 type=radio value="1" name=specialreq> Yes 

            <INPUT class="button2"  tabIndex=30 type=radio value="0" name=specialreq> No 

            

            

            </div> 

              

        <DIV class=item id="other" style="display:none;"><SPAN class=title><b><font color="red"><b> * </b></font>Other Industry category : </SPAN> 

        <input class=f-textName name="otherIndustryCategory" type="text" id="otherIndustryCategory" size="40"></span></div> 

        

        <DIV class="item last" id="itemlast"><SPAN class=title><b><font color="red"><b> * </b></font>Province/Territory :</SPAN> 

        <SELECT name="txtprovince" class=f-textName> 

        <OPTION value="" selected>Select One</OPTION> 

        <OPTION value=AB >Alberta</OPTION> 

        <OPTION value=BC >British Columbia</OPTION> 

        <OPTION value=MB >Manitoba</OPTION> 

        <OPTION value=NB >New Brunswick</OPTION> 

        <OPTION value=NF >Newfoundland and Labrador</OPTION> 

        <OPTION value=NT >Northwest Territories</OPTION> 

        <OPTION value=NS >Nova Scotia</OPTION> 

        <OPTION value=NU>Nunavut</OPTION> 

        <OPTION value=ON >Ontario</OPTION> 

        <OPTION value=PE>Prince Eard Island</OPTION> 

        <OPTION value=QC >Quebec</OPTION> 

        <OPTION value=SK >Saskatchewan</OPTION> 

        <OPTION value=YK>Yukon Territory</OPTION> 

        <OPTION value=Other >Other</OPTION></SELECT></DIV>     

       <div align="center"><INPUT class=butt title="Send" type="submit" alt="Send" src="" value="Send"> 

      <INPUT class=butt title="Reset" type="reset" alt="reset" src="" value="Reset"> 

      

       <INPUT type=hidden 



      value=cmVxVzdGZvcnF1b3RlX2Zvcm1fbmFtZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9tZXNzYWdlLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2VtYWlsLHJlcXVlc3Rmb3Jx90ZV9mb3JtX3Bob25lLHJlcXVlc3Rmb3Jx90ZV9mb3JtX2NvbXBhbnkscmVxVzdGZvcnF1b3RlX2Zvcm1fZmlsZSxyZXF1ZXN0Zm9ycXVvdGVfZm9ybV9hZGRpbmZv 



      name=_it_fs></FORM>

Open in new window

0
 
LVL 33

Expert Comment

by:hongjun
ID: 34152376
You did manage to send an email successfully from your earlier post right?
0
 

Author Comment

by:elieazzi
ID: 34161144
No I'm not able to send an email... The code is correct but no email are going...
0
 
LVL 3

Expert Comment

by:giuseppepi
ID: 34162011
well, let's go forward...
Did you manage to send at least one email from this server?
It is possible that SMTP is not correcly configured, server has incorrect DNS and rDNS settings or is simply blacklisted.
Another opportunity is to send email as authenticated user or using another smpt server.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now