[thelist] ColdFusion required="yes" attribute doesn't work in <CFINPUT>
Minh Lee Goon
evolt at goonies.info
Wed Jul 12 10:33:31 CDT 2006
This is a very basic question with a very elusive answer. Why wouldn't
the required="yes" attribute work in a <CFINPUT>? Here's my very
simplified code, and it doesn't work:
<cfparam name="form.Test" default="">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<cfform action="#cgi.Script_Name#" name="TestForm">
<cfinput type="Text" name="Test" required="Yes" message="Please"
value="#form.Test#">
<input type="Submit">
</cfform>
</body>
</html>
Any ideas?
More information about the thelist
mailing list