<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6 - CFML_Reference - Tags-pt161.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T21:19:09</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#51128" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#50814" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#32300" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#32298" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#25640" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#25182" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#12345" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#3062" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#2303" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#1581" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#1099" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#956" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#918" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#959" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#584" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#496" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#51128">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#51128</link>
		<description>Disregard my previous posting.  I was wrong about the change to the _CF_checkcreditcard function.</description>
		<dc:creator>Mitch004</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-07-24T12:57:09</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#50814">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#50814</link>
		<description>I've discovered the problem with the &lt;cfinput validate=&quot;creditcard&quot;&gt;.&lt;br /&gt;In the cfform.js, the last line of the  _CF_checkcreditcard   function needs to flip the return true/false.&lt;br /&gt;&lt;br /&gt;original:&lt;br /&gt;return (checkdigit % 10) == 0 ? true : false;&lt;br /&gt;&lt;br /&gt;should be&lt;br /&gt;return (checkdigit % 10) == 0 ? false : true;&lt;br /&gt;&lt;br /&gt;After this change, the validation worked perfect.</description>
		<dc:creator>Mitch004</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-07-14T12:11:56</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#32300">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#32300</link>
		<description>And oh yeah: since then, I figured out a way around the problem by having the regular expression match a null field as well as what you're searching for if you want it to be not required. This is not intuitive, and I would still argue that the regular_expression validation attribute breaks the &quot;required&quot; attribute, but for example for emails, the following works to validate an email address if one is given, but not to require one:&lt;br /&gt;&lt;br /&gt;VALIDATE=&quot;regular_expression&quot; PATTERN=&quot;(.+@.+\.\w{2,6}$|^$)&quot;</description>
		<dc:creator>Hutz</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-04-25T15:33:02</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#32298">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#32298</link>
		<description>Let's be clear: you're NOT writing a function, you're using a new attribute added to the ColdFusion Tag (Validate=&quot;regular-expression&quot;). This new attribute breaks other attributes in unexpected ways (ie: the &quot;required&quot; attribute is no longer respected). This is a bug, and it is not documented on this page except for my comment about it.&lt;br /&gt;&lt;br /&gt;I was hoping this new attribute would allow me to stop having to use the special extra validation function I wrote for email, but alas, with this bug making it is not ready for production, the answer is &quot;no&quot;.</description>
		<dc:creator>Hutz</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-04-25T15:09:50</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#25640">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#25640</link>
		<description>Well, if you are writing a function to validate the input, check to see if it is blank, and if it is, perform a javascript &quot;alert()&quot;.  Come on, this isn't that hard.&lt;br /&gt;And it says in the doc right above it behaves this way.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-12-19T10:33:39</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#25182">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#25182</link>
		<description>Validating on a &quot;regular_expression&quot; seems to then ignore the absence of a &quot;required&quot; -- ie: if you don't have REQUIRED=&quot;Yes&quot; it still tries to validate an empty field. Even using  REQUIRED=&quot;No&quot; does not keep it from trying to validate an empty field.</description>
		<dc:creator>Hutz</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-12-08T07:20:39</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#12345">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#12345</link>
		<description>email field validation should be available</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-04-05T13:13:02</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#3062">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#3062</link>
		<description>I have entered CFINPUT Canadian Postal Code validation as enhancement request 53631.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2003-10-24T06:32:47</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#2303">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#2303</link>
		<description>You need to have a way to enter a canadian validated postal code &lt;a1b 1a2&gt;</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-09-30T18:06:49</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#1581">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#1581</link>
		<description>&lt;CFFORM&gt; seems to be&lt;br /&gt;preventing me from using&lt;br /&gt;my enter key to create&lt;br /&gt;multi-line text in a&lt;br /&gt;TEXTAREA</description>
		<dc:creator>Steve Powell</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-09-01T01:11:25</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#1099">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#1099</link>
		<description>I just copied the above script and trie it on my webserver with ColdFusion MX server.&lt;br&gt;The required fields are not checked.&lt;br&gt;The TAGs &lt;cfform&gt; and &lt;cfinput&gt; are not usable at all.</description>
		<dc:creator>mschweiz</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-07-10T12:51:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#956">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#956</link>
		<description>I am using cfinput type=&quot;file&quot; for the form side of the cffile action, but I don't see that type as an option on this page.</description>
		<dc:creator>lolozigzag</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-06-06T15:03:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#918">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#918</link>
		<description>The check requires 16 digits in the number.</description>
		<dc:creator>hlichtin</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-03-07T15:11:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#959">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#959</link>
		<description>Credit card validation seems to only look for a 20-number credit card, but AMEX cards have less than 20 numbers.</description>
		<dc:creator>kwokie</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-03-05T14:00:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#584">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#584</link>
		<description>Update from Macromedia, in response to fusebox_steve: thanks for your suggestion. I've added it to the ColdFUsion enhancements request list. &lt;br&gt;</description>
		<dc:creator>ctina</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-07-22T14:37:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#496">
		<title>coldfusion/6/CFML_Reference/Tags-pt161.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt161.htm#496</link>
		<description>cfinput should have an ending tag and allow for a type=textarea</description>
		<dc:creator>fusebox_steve</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-07-01T22:22:00</dc:date>
	</item>
	</rdf:RDF>

