I'm having trouble using the <CFINPUT TYPE="TEXT" REQUIRED="Yes"> tag. When I load the form template in my browser, and purposefully leave the TEXT input blank it doesn't throw an error message like it should.
Here is the form code:
Here is the action code:
The form is located at
I'm going crazy trying to figure this out. Does anyone have any ideas?
Here is the form code:
Code:
<CFFORM ACTION="testaction.cfm" METHOD="POST">
Please Enter Your Name<BR>
<CFINPUT
TYPE="text"
NAME="Contact"
SIZE="20"
REQUIRED="Yes"
MESSAGE="Name is required!">
<INPUT TYPE="submit" VALUE="Submit">
</CFFORM>
Here is the action code:
Code:
<CFOUTPUT>
Thanks for your input #form.Contact#!
</CFOUTPUT>
The form is located at
I'm going crazy trying to figure this out. Does anyone have any ideas?