0 Replies Latest reply on Sep 29, 2006 12:15 AM by laythss

    contact form...

    laythss Level 1
      hi all, to start off I have been trying to deal with this for the last 3 days and my brain feels as if someone has squeezed it out.
      I am working on this flash site, there is a contact form with name, company,tel, email and message... these are all input text fields with Var defined.... I have a send button and here is it's script:

      on (release) {
      url_var = "server_option="+_root.server_option+"&recipient="+_root.recipient+"&your_name="+_parent. t1_2+"&your_email="+_parent.t4_2+"&comments="+_parent.t5_2+"&phone="+_parent.t3_2+"&compan y="+_parent.t2_2;
      getURL("contact."+_root.server_option+"?"+url_var, "_blank", "GET");
      _parent.t1_2 = "your name:";
      _parent.t2_2 = "your company:";
      _parent.t3_2 = "telephone:";
      _parent.t4_2 = "e-mail:";
      _parent.t5_2 = "message:";
      }

      for now I set the _root.server_option to asp, my problem is with theurl_var I think ....



      and when I submit my form this is what I get in the address of the poped up page:
      http://always-coffee.com/mirror/flash/contact.asp?server_option=asp&recipient=%22laytvv@gm ail.com%22&your_name=%3CP%20ALIGN=%22LEFT%22%3E%3CFONT%20FACE=%22standard%2007_53%22%20SIZ E=%228%22%20COLOR=%22#7F7F7F%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3Ejohn%20smith%3 C/FONT%3E%3C/P%3E&your_email=%3CP%20ALIGN=%22LEFT%22%3E%3CFONT%20FACE=%22standard%2007_53% 22%20SIZE=%228%22%20COLOR=%22#7F7F7F%22%20LETTERSPACING=%220%22%20KERNING=%220%22%3Enone@y ahoo.com%3C/FONT%3E%3C/P%3E&comments=%3CP%20ALIGN=%22LEFT%22%3E%3CFONT%20FACE=%22standard% 2007_53%22%20SIZE=%228%22%20COLOR=%22#7F7F7F%22%20LETTERSPACING=%220%22%20KERNING=%220%22% 3Enothing%20important%3C/FONT%3E%3C/P%3E&phone=%3CP%20ALIGN=%22LEFT%22%3E%3CFONT%20FACE=%2 2standard%2007_53%22%20SIZE=%228%22%20COLOR=%22#7F7F7F%22%20LETTERSPACING=%220%22%20KERNIN G=%220%22%3E8005551212%3C/FONT%3E%3C/P%3E&company=%3CP%20ALIGN=%22LEFT%22%3E%3CFONT%20FACE =%22standard%2007_53%22%20SIZE=%228%22%20COLOR=%22#7F7F7F%22%20LETTERSPACING=%220%22%20KER NING=%220%22%3Eintel%20corp%3C/FONT%3E%3C/P%3E&url%5Fvar=server%5Foption%3Dasp%0D%0A%26rec ipient%3D%22laythss%40gmail%2Ecom%22%0D%0A%0D%0A%0D%0A%0D%0A%26your%5Fname%3D%3CP+ALIGN%3D %22LEFT%22%3E%3CFONT+FACE%3D%22standard+07%5F53%22+SIZE%3D%228%22+COLOR%3D%22%237F7F7F%22+ LETTERSPACING%3D%220%22+KERNING%3D%220%22%3Ejohn+smith%3C%2FFONT%3E%3C%2FP%3E%26your%5Fema il%3D%3CP+ALIGN%3D%22LEFT%22%3E%3CFONT+FACE%3D%22standard+07%5F53%22+SIZE%3D%228%22+COLOR% 3D%22%237F7F7F%22+LETTERSPACING%3D%220%22+KERNING%3D%220%22%3Enone%40yahoo%2Ecom%3C%2FFONT %3E%3C%2FP%3E%26comments%3D%3CP+ALIGN%3D%22LEFT%22%3E%3CFONT+FACE%3D%22standard+07%5F53%22 +SIZE%3D%228%22+COLOR%3D%22%237F7F7F%22+LETTERSPACING%3D%220%22+KERNING%3D%220%22%3Enothin g+important%3C%2FFONT%3E%3C%2FP%3E%26phone%3D%3CP+ALIGN%3D%22LEFT%22%3E%3CFONT+FACE%3D%22s tandard+07%5F53%22+SIZE%3D%228%22+COLOR%3D%22%237F7F7F%22+LETTERSPACING%3D%220%22+KERNING% 3D%220%22%3E8005551212%3C%2FFONT%3E%3C%2FP%3E%26company%3D%3CP+ALIGN%3D%22LEFT%22%3E%3CFON T+FACE%3D%22standard+07%5F53%22+SIZE%3D%228%22+COLOR%3D%22%237F7F7F%22+LETTERSPACING%3D%22 0%22+KERNING%3D%220%22%3Eintel+corp%3C%2FFONT%3E%3C%2FP%3E

      and the page displays:
      0Invalid email

      Response object error 'ASP 0185 : 80020003'

      Missing Default Property

      /mirror/flash/contact.asp, line 0

      A default property was not found for the object.

      the 0 is the line i added in the contact.asp to display m.count

      Any help will be much apriciated

      Layth
      Here is the code in contact.asp file: