Skip to main content
Participating Frequently
July 11, 2008
Question

<cfinput> complete yet?

  • July 11, 2008
  • 3 replies
  • 375 views
According to the adobe docs, the following should work:

<input name="txtAreaCode" type="text" validate="integer" required="Yes" message="DUH!" maxlength="3" style="width:30px" />

However, there is NO validation done at all. You can type in letters, symbols, etc. And ... the options "required", "validate" "onvalidate" "message", etc are not available on the newest dreamweaver with the cf8 addon ...
This topic has been closed for replies.

3 replies

Inspiring
July 12, 2008
ROFL. Sorry but this one made me laugh because I have been guilty of this sooooo many times. Your "message" says it all. "DUH". :)
Participating Frequently
July 11, 2008
aaghhh!! I feel so special now.. pfft, after three pairs of eyes ... oh well :) Thanks!
Inspiring
July 11, 2008
ShannaraAlaska wrote:
> According to the adobe docs, the following should work:
>
> <input name="txtAreaCode" type="text" validate="integer" required="Yes"
> message="DUH!" maxlength="3" style="width:30px" />
>
> However, there is NO validation done at all. You can type in letters, symbols,
> etc. And ... the options "required", "validate" "onvalidate" "message", etc are
> not available on the newest dreamweaver with the cf8 addon ...
>
>

Are you perchance trying to use a <cfinput....> tag? I am completely
unaware of anything like 'validate' or 'required' belong to a vanilla
html <input...> tag in either ColdFusion or Dreamweaver.