Advertisement

12.04.2007 at 11:29AM PST, ID: 23001156 | Points: 250
[x]
Attachment Details

ColdFusion Server Side Validation Using Regular Expression

Asked by FSUKXAZ in Cold Fusion Markup Language

Tags: , , ,

I have a CFINPUT box called prodtitle and I want to be able to check (validate) user input.  I want to use a Regular Expression if possible.  I want to throw a server side error message and abort the insert/update page. Here is exactly what I need:  
I need to check for a '#' sign anywhere in the prodtitle.
I need to look for the word 'Tipper' anywhere in the prodtitle
I need to look for a 3 digit number anywhere in the prodtitle (numbers are ok... just not a 3 digit one).Start Free Trial
[+][-]12.04.2007 at 01:45PM PST, ID: 20406894

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628