Hi CFers, i am trying to make the form super secure and have added regular expression that works fine in cfinput to cftextarea and it doesn't work...?
<cftextarea name="mytxt" value="#wrds#" message="Text - Required. Letters, Numbers and .+()&' allowed" pattern="^[-a-zA-Z0-9_:+().&' ']{1,100}$" height="300" width="700" validate="regular_expression" validateat="OnSubmit" disabled="No" required="No" toolbaronfocus="No" bindonload="No" html="No" enabled="Yes" visible="Yes" richtext="Yes" toolbar="Basic" /> this is in the head <script> function FCKeditor_OnComplete(editorInstance) { editorInstance.Config["ToolbarSets"]["BasicPlus"] = [ ['SpecialChar','Bold','Italic','Underline','StrikeThrough','Link', 'Unlink','-','Cut','Copy','Paste', 'Find','Replace', '-','FontFormat','FontName','FontSize','TextColor'] ]; editorInstance.EditorWindow.parent.FCK.ToolbarSet.Load('BasicPlus') ; } </script> tnx in advance andy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358832 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm