2 Replies Latest reply on Dec 19, 2006 6:49 AM by kglad

    How to strip text formatting from text field value ??

    ninjayong
      Hi everyone,
      Have tried to get some info on this but no luck.... I've created a simple contact form in Flash, but the URL which it's generating contains the text formatting from the text input fields. As a result the script that processes the mail send doesn't work. How do I strip the text formatting out of text1, text2 and text3 before I use getURL() ??

      on (release) {
      url_var = "your_name="+text1+"&your_e-mail="+text2+"&message="+text3;
      getURL("contact.php?"+url_var, "_blank", "GET");
      text1 = "";
      text2 = "";
      text3 = "";
      }