1 Reply Latest reply on Apr 18, 2007 2:49 PM by dempster

    CFHTTP and Name of Form

    Mikey D.
      I'm using CFHTTP to post a form to another server. The processing page on the server handles many forms... so I must pass along the name of the form as well. How do I do that? Here's what I have so far:

      <cfhttp url="theURL" method="post" result="theResult">
      <cfhttpparam type="formfield" name="lookup" value="Smith">
      <cfhttpparam type="formfield" name="submit" value="Search">

      How do I get the above to act like this:

      <form name="dirSearch">
      yadda yadda yadda

      Thanks in advance!
        • 1. Re: CFHTTP and Name of Form
          dempster Level 1
          As far as I know, the form name is part of the DOM of the HTML page and is not passed by CGI when the form is submitted. Perhaps the processing page is using some other method toidentify the form, such as a hidden field or the HTTP_REFERER value?