0 Replies Latest reply on Mar 1, 2007 1:07 AM by Newsgroup_User

    form out put formatting

    Level 7
      Hi, i created a simple form,

      stop();
      submit_btn.onRelease = function(){
      description.text = "";
      var myArray = new Array(fullName.text, age.text, number.text, email.text);
      // trace(myArray[2]);
      if((myArray[0] == "" || myArray[0] == null) || (myArray[1] == "" ||
      myArray[1] == null) || (myArray[2] == "" || myArray[2] == null) || (myArray[3]
      == "" || myArray[3] == null)){
      trace("comlete the form");
      }else{
      for(i=0; i<myArray.length; i++){
      description.text += myArray ;
      }
      }
      }

      fullName, age, number, email, thease are the input fields name, i put
      everything in an array when click on submit button, it should display in
      description field(dynamic text field), it is working fine the problem is that
      everythhing is coming in a single lin. I need to format it, i made it as render
      as html, then how can i put </br> tags with my array name.
      Regards,
      Subin