Setting the value of the “action” attribute of a form to the index page

stevegold

New Member
I've noticed something whilst working on the login form I have been creating and was wondering if anybody else had spotted this problem/issue before. When creating a form and entering the value for the action attribute, it works fine for every page except for the index.cfm page. Below is some example code to give you an understanding of my problem.\[code\]<form action="index.cfm" method="post"> <input type="text"></input> <input type="submit"></input></form>\[/code\]The above example, doesn't work, however, the example below, does;\[code\]<form method="post"> <input type="text"></input> <input type="submit"></input></form>\[/code\]This problem is on the index page ONLY. On all other pages, entering the file name and any URL variables required works with no issues at all. Could anybody provide a hint or reason as to why this is happening or where I might be going wrong?
 
Back
Top