You can do that with the out of the box CFform .. <cfinput type="Text" name="ralph" range="1,100" validate="range" required="No">
On Thu, Apr 24, 2008 at 8:33 AM, Web Exp <[EMAIL PROTECTED]> wrote: > Hi... Can someone give me the regex pattern for checking if the user input > is: > Either a percentage value (between 1 and 100) OR it is a integer > between 1 and 1400. > > Please help. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304156 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

