1 Reply Latest reply on Sep 12, 2007 10:37 PM by raghunathrao

    Adding text boxes to URL using HTTPService

    stoopkid
      Newbie question, and I'm totally blanking on something so simple.

      I have 4 text boxes: url1, startDate, endDate, acdNumber. I'm trying to add all 4 of them into my url tag for HTTPService, but I keep getting a "The reference to entity "to_date" must end with the ';' delimiter" error.

      Heres my code:
      <mx:HTTPService
      id="phonelogReport"
      url="{url1.text}phonelogreport-xml.php?from_date={startDate.text}&to_date={endDate.text}& acd_num={acdnumber.text}"/>

      The output should be something like: phonelog_report.php?from_date=2006-09-10&to_date=&acd_num=1

      I'm really getting annoyed with this, and I've tried the 3 ways I could think of to combine them. Please help.

      Thanks in advance!