Skip to main content
June 11, 2007
Question

CFFORM and BASE HREF tag

  • June 11, 2007
  • 1 reply
  • 279 views
Hello,
I am developing a web page with the <BASE HREF=" http://www.mydomain.com"> tag and using CFFORM to do some form validation on the page. When I test the page, the CFFORM is not validating. I thought that maybe the <BASE> tag was throwing off the mappings somehow, making /CFIDE look in http://www.mydomain.com/CFIDE (which doesn't exist).

Any ideas on how to make CFFORM work with a <BASE HREF=" http://..."> tag?

Thanks!!
    This topic has been closed for replies.

    1 reply

    June 13, 2007
    Specify the location of your cfform scripts inside your CFFORM tag. ie;scriptsrc="/cfscripts". Replace with location of your scripts by creating a virtual directory in your webserver or use application mapping.