ice78991
Programmer
- Nov 20, 2006
- 216
I have wrapped a cfform in a cfdiv in the hope of submitting a form asynchronously
My code is as follows
<cfdiv>
<div align="center">
<cfform action=“index.cfm” method="post">
<cfinput type="text" name="email" id="email" required="yes" validate="email" message="Please enter your email address"><br /><br />
<cfinput type="submit" name="Send" value="Count Me In"/>
</cfform>
</div>
</cfdiv>
But when I submit I get a 404 file not found error and it has renamed my file ?Sindex.cfm??
How can I fix this?
My code is as follows
<cfdiv>
<div align="center">
<cfform action=“index.cfm” method="post">
<cfinput type="text" name="email" id="email" required="yes" validate="email" message="Please enter your email address"><br /><br />
<cfinput type="submit" name="Send" value="Count Me In"/>
</cfform>
</div>
</cfdiv>
But when I submit I get a 404 file not found error and it has renamed my file ?Sindex.cfm??
How can I fix this?