Re: cfargument type equals 1 of 2 options
thanks Micheal, will look into this. You could use a type of string, then have a regex that test for the allowed values. Mike Hi in one of our functions we need someone to pass in one of 2 options (exist or not exists) we have thought about making the argument type a boolean but we actually need one of these 2 strings to be passed in. is there a way in the cfargument tag whether you can specify that the value passed in has to be one of those 2 options? thanks richard ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313107 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfargument type equals 1 of 2 options
Hi in one of our functions we need someone to pass in one of 2 options (exist or not exists) we have thought about making the argument type a boolean but we actually need one of these 2 strings to be passed in. is there a way in the cfargument tag whether you can specify that the value passed in has to be one of those 2 options? thanks richard ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313076 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfargument type equals 1 of 2 options
You could use a type of string, then have a regex that test for the allowed values. Mike -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2008 12:03 PM To: CF-Talk Subject: cfargument type equals 1 of 2 options Hi in one of our functions we need someone to pass in one of 2 options (exist or not exists) we have thought about making the argument type a boolean but we actually need one of these 2 strings to be passed in. is there a way in the cfargument tag whether you can specify that the value passed in has to be one of those 2 options? thanks richard ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313077 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4