Hi, I am confused of wat really hve to do to display error window popup if error occurs. eg:<cfform> <cfinput type="text" name="name1"value=""> <cfinput type="Submit" name="Submit"value="Submit"> </cfform <cfif isDefined("form.Submit")> <cfif not isnumeric("form.name1")> <cfotput>Please enter numeric values</cfoutput> </cfif> </cfif>
I need the eror message to be in the alert box. I tried using like <cfotput><script type="javascript">alert('Please enter numeric values');</script></cfoutput> but didnt work....what is the best way to do it... Thanks, Pranathi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:321845 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4