[thelist] ColdFusion required="yes" attribute doesn't work in <CFINPUT>

Brian Cummiskey briancummiskey at gmail.com
Wed Jul 12 10:53:29 CDT 2006


On 7/12/06, Minh Lee Goon <evolt at goonies.info> wrote:
> This is a very basic question with a very elusive answer. Why wouldn't
> the required="yes" attribute work in a <CFINPUT>?


>         <cfinput type="Text" name="Test" required="Yes" message="Please"
> value="#form.Test#">

In HTML, the correct syntax is required="required", not
required="yes".  Not sure if this holds true for CF or not however.



More information about the thelist mailing list