You could treat the field as a list and use the listFind
function or use a
regular expression.
<cfif not listFind(nameOfField,':','')>
Throw some error
</cfif>
--
Bryan Ashcraft (remove BRAIN to reply)
Web Application Developer
Wright Medical Technology, Inc.
-------------------------------------------------------------------------
Macromedia Certified Dreamweaver Developer
Adobe Community Expert (DW) ::
http://www.adobe.com/communities/experts/
"weezerboy" <webforumsuser@macromedia.com> wrote in
message
news:f613g7$g8b$1@forums.macromedia.com...
>I have a form with 10 time fields. I need the user to
input the time in
> military format like this 12:16.
>
> The problem is users are entering the time WITHOUT THE
COLON and its
> causing
> problems.
>
> How can I check for the existance of a colon in these
form fields.
>
> I need the colon to be there before I go onto further
processing.
>
> PAT
>