<?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 - Developing_ColdFusion_MX_Applications_with_CFML - formatData3.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:48:26</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm#16314" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm#16313" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm#3033" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm#16314">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm#16314</link>
		<description>For more info on how to deal with identically named controls, be familiar with the list functions,  or consider choosing not to re-use names for controls.&lt;br /&gt;&lt;br /&gt;http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/functions-pt016.htm#1099435</description>
		<dc:creator>bizarrojack</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-06-08T10:47:47</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm#16313">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm#16313</link>
		<description>(sorry about the previous comment, I thought the comments were still part of  the account registration process; it has nothing to do with htis page and hopefully can be deleted)&lt;br /&gt;&lt;br /&gt;What I meant to say:&lt;br /&gt;&quot;What does this really mean?&lt;br /&gt;Note: If multiple controls have the same name, one form variable is passed to the action page with a comma-delimited list of values.&quot;&lt;br /&gt;&lt;br /&gt;suppose you have inputs like this:&lt;br /&gt;&lt;input type=text name=&quot;textvar&quot; value=&quot;text1&quot;&gt;&lt;br /&gt;&lt;input type=text name=&quot;textvar&quot; value=&quot;text2&quot;&gt;&lt;br /&gt;&lt;input type=text name=&quot;textvar&quot; value=&quot;text3&quot;&gt;&lt;br /&gt;&lt;br /&gt;It means that this will be true:&lt;br /&gt;FORM.textvar eq &quot;text1,text2,text3&quot;&lt;br /&gt;&lt;br /&gt;It would have been much nicer if it came in as an array instead of a list;  Its very easy to screw up and requires extra code to use this properly when using your own data, and practically impossible to take user-supplied text in this way.  This is because the list deliimiter is a comma and therefore you must be sure that there is no commas in your data.&lt;br /&gt;&lt;br /&gt;name=onevar value=&quot;text foo&quot;&lt;br /&gt;name=onevar value=&quot;foo, bar baz&quot;&lt;br /&gt;name=onevar value=&quot;foobar&quot;&lt;br /&gt;&lt;br /&gt;This will appear as 4 items in FORM.onevar, whether you want it to work that way or not.  In a situation where a user isn't inputting data, it is still important to be certain that the data being used does not contain commas.&lt;br /&gt;&lt;br /&gt;Some other languages read these values into an array on submission, so be sure if CF is not your first language that you take this for granted.</description>
		<dc:creator>bizarrojack</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-06-08T10:42:10</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm#3033">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/formatData3.htm#3033</link>
		<description>Good Day,&lt;br /&gt;&lt;br /&gt;What does this really mean? &lt;br /&gt;Note:   If multiple controls have the same name, one form variable is passed to the action page with a comma-delimited list of values.&lt;br /&gt;&lt;br /&gt;I have created a form with the following &lt;br /&gt;&lt;input type=&quot;checkbox&quot; name=&quot;RegFieldList&quot; value=&quot;f0&quot;&gt;&lt;br /&gt;&lt;input type=&quot;checkbox&quot; name=&quot;RegFieldList&quot; value=&quot;f1&quot;&gt;&lt;br /&gt;&lt;input type=&quot;checkbox&quot; name=&quot;RegFieldList&quot; value=&quot;f2&quot;&gt;&lt;br /&gt;&lt;br /&gt;I have created a field named RegFieldList in my database. &lt;br /&gt;&lt;br /&gt;This is going to be my new form, but I am not sure if this is right. &lt;br /&gt;&lt;cfif ListFind(RegFieldList,&quot;f0&quot;)&gt;			&lt;br /&gt;&lt;input type=&quot;checkbox&quot; name=&quot;RegFieldList&quot; value=&quot;f0&quot; &lt;cfif ConferenceFields.RegFieldList is 1&gt; checked&lt;/cfif&gt;&gt; &lt;br /&gt;&lt;br /&gt;&lt;input type=&quot;text&quot; name=&quot;MiddleInitial&quot; maxlength=&quot;2&quot; value=&quot;&quot; size=&quot;2&quot;&gt;&lt;br /&gt;&lt;br /&gt;Now how should my action page look?&lt;br /&gt; Should I have an update query or a select query.  My boss wants me to use the ListFind or ListGetAt functions. I don't know what to do can you help me.  &lt;br /&gt;&lt;br /&gt;Basically the user selects all the checkboxes that are necessary on the form page. Then I need those fields that are checked to be confirmed and appear on the new form page. &lt;br /&gt;&lt;br /&gt;Thank you very much for helping me.</description>
		<dc:creator>dwhatley</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-10-23T11:23:11</dc:date>
	</item>
	</rdf:RDF>

