Hi,
I'm having trouble figuring out why the following ofrm isnt working. As the code shows, the text input field is required but when I submit the form with an empty text field the form processes. Another user here was good enogh to try this code themselves and it worked for them. I'm not having the same result. Could someone try it out. Here is the link to the template on my host followed by the entire template code.
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<cfform>
<cfinput name="tester" type="text" size="10" maxlength="10" required="yes" message="Please enter text">
<input name="submit" type="submit" value="submit">
</cfform>
</body>
</html>
I'm having trouble figuring out why the following ofrm isnt working. As the code shows, the text input field is required but when I submit the form with an empty text field the form processes. Another user here was good enogh to try this code themselves and it worked for them. I'm not having the same result. Could someone try it out. Here is the link to the template on my host followed by the entire template code.
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<cfform>
<cfinput name="tester" type="text" size="10" maxlength="10" required="yes" message="Please enter text">
<input name="submit" type="submit" value="submit">
</cfform>
</body>
</html>