<?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.1 - htmldocs - tags-p65.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-24T22:47:09</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#57634" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#57632" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#49627" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#47122" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#40603" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#38507" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#37318" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#36131" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#34392" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#27009" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#25892" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#23827" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#20471" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#57634">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#57634</link>
		<description>In the previous comment on the Validate attribute, the second paragraph refers to the onValidate attribute, not the validate attribute.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2006-12-11T13:16:22</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#57632">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#57632</link>
		<description>Some additional hints on Validate (which would've helped me to not have to figure out myself):&lt;br /&gt;&lt;br /&gt;If you include a Validate attribute, the Message attribute will determine what is displayed if the error condition is met.&lt;br /&gt;&lt;br /&gt;The Validate attribute should only include the function name, without parentheses, so a tag might be cfinput type=&quot;Text&quot; name=&quot;PasswordConfirm&quot; required=&quot;No&quot; size=&quot;10&quot; onvalidate=&quot;passwordsMustMatch&quot; message=&quot;Passwords must match.&quot;&lt;br /&gt;&lt;br /&gt;The function should return true or false, true if there's not an error, false if there is.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-12-11T12:37:45</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#49627">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#49627</link>
		<description>In response to hpottash and onValidate, I appreciate the example code.  I experimented with it and see what might be causing the &quot;strange form behavior&quot;.  Javascript is case-sensitive.  The second input parameter is not matched exactly in case in the return statement.  By capitalizing the &quot;i&quot; in &quot;inputObj.value&quot;, I got the function results to be consistent with the input field's value &quot;cheese&quot; onSubmit.  Which reminds me, I had to add a submit button!  The Javascript failing could be the reason for the other form oddities.&lt;br /&gt;&lt;br /&gt;HTH</description>
		<dc:creator>Glizman</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-06-12T06:43:02</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#47122">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#47122</link>
		<description>The documentation for onValidate could probably use an example... so here is one. If you give it something other than exactly what it is exspecting you get very odd behaviour across your whole form.&lt;br /&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;&lt;script&gt;&lt;br /&gt;  function validateCheese(formObj,InputObj,InputObjVal){&lt;br /&gt;   return (inputObj.value == &quot;cheese&quot;);&lt;br /&gt; }&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;cfinput &lt;br /&gt;   type = &quot;Text&quot; name = &quot;cheese&quot; &lt;br /&gt;   message = &quot;you did not entere cheese&quot; &lt;br /&gt;   onValidate = &quot;validateCheese&quot; &gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;br /&gt;Note that the javascript function name is passed to onvalidate, but that it is not called as a function (there are no tailing parens). also note that the function definition requires three paramiters (this is important) and that it always returns a booliean value. Even if you don't want to use any of the params passed to the function you need to take them.</description>
		<dc:creator>hpottash</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-04-04T07:46:31</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#40603">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#40603</link>
		<description>cfinput supports a disabled attribute in CFMX 7, but it ignores the argument &quot;no&quot;</description>
		<dc:creator>Devline</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-10-09T14:58:33</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#38507">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#38507</link>
		<description>HTML attributes class and id would be useful to be added in next versions.&lt;br /&gt;&lt;br /&gt;I use id to assign a Label to a check- or radio-box like:&lt;br /&gt;&lt;input type=&quot;checkbox&quot; name=&quot;lorem&quot; id=&quot;lorem_1&quot; value=&quot;1&quot; /&gt;&lt;label for=&quot;lorem_1&quot;&gt;Lorem&lt;/label&gt;&lt;br /&gt;(more comfotable would of course be a label-attribute in the cfinput, which generates an id and label tag... ;-) )&lt;br /&gt;&lt;br /&gt;Here's a workaround for the class attribute, but the class-attribute would be nicer:&lt;br /&gt;&lt;span class=&quot;yourStyle&quot;&gt;&lt;cfinput [...] /&gt;&lt;/span&gt;&lt;br /&gt;define the style in the css like this:&lt;br /&gt;yourStyle input&lt;br /&gt;{&lt;br /&gt;  /* ...*/&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;thx</description>
		<dc:creator>y_not_25</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-08-09T02:14:26</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#37318">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#37318</link>
		<description>i have this tag in the form &lt;br /&gt;&lt;CFINPUT TYPE=&quot;text&quot; name=&quot;DirPHoneNo&quot; &lt;br /&gt;value=&quot;#form.DirPHoneNo#&quot; label=&quot;Project Director Telephone number Input Box&quot; mask=&quot;999-999-9999&quot;  validateAt=&quot;onBlur&quot; validate=&quot;telephone&quot; required=&quot;yes&quot; message=&quot;enter valid phone number&quot;&gt;&lt;br /&gt;onBlur is ignored if i enter only part of the phone number (2 digits insted of 10). Can't submit form- no error message, no validation message- just wouldn't submit. I have js page included as well. tried removing js page reference- no luck. Also tried different masking.&lt;br /&gt;Another problem:  when using mask, if enter some digits but not all, remaining spaces are replaced by 0's instead of throwing error</description>
		<dc:creator>lizk</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-07-13T04:26:35</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#36131">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#36131</link>
		<description>I believe that cfinput supports a disabled attribute in CFMX 7:  http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000279.htm</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2005-06-29T12:59:40</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#34392">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#34392</link>
		<description>HTML attribute disabled would be useful to be added in next versions</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-06-03T07:04:07</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#27009">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#27009</link>
		<description>There is a problem with the validate integer when using the cfinput='text'. It excepts .5 as an integer or any whole number with a decimal in front of it.</description>
		<dc:creator>wooddog</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-01-26T08:17:52</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#25892">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#25892</link>
		<description>It'd be quite nice if these docs had a summary of JavaScript's regex  patterns, rather than just telling us &lt;cfinput&gt; uses them (which in itself is not very helpful).&lt;br /&gt;To save anyone time having to seek a reference out, I use this one (it's Microsoft, so strictly speaking JScript not JavaScript, but I've never come across an incompatibility yet):&lt;br /&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/js56jsgrpregexpsyntax.asp</description>
		<dc:creator>Adam Cameron</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-12-27T19:14:59</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#23827">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#23827</link>
		<description>If we use the &lt;CFINPUT Time validation how can we determine AM or PM?</description>
		<dc:creator>lbdas357</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-11T12:13:56</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#20471">
		<title>coldfusion/6.1/htmldocs/tags-p65.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p65.htm#20471</link>
		<description>The onValidate parameter of CFInput (type=TEXT) seems to be ignored by the CF server if any of the fields on the CFForm have required set to YES</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-08-25T04:19:23</dc:date>
	</item>
	</rdf:RDF>

