<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebGyver Revisited &#187; Classic ASP</title>
	<atom:link href="http://www.webgyver.com/tag/classic-asp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webgyver.com</link>
	<description>Tools and Resources for Successful Web Design, Web Development, Web Applications and Web Business Marketing</description>
	<lastBuildDate>Wed, 28 Jul 2010 15:15:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Extra Comma in Request.Form</title>
		<link>http://www.webgyver.com/web-design-and-development/extra-comma-in-requestform/</link>
		<comments>http://www.webgyver.com/web-design-and-development/extra-comma-in-requestform/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 21:05:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design and Development]]></category>
		<category><![CDATA[Classic ASP]]></category>
		<category><![CDATA[HTML Form]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://www.webgyver.com/uncategorized/extra-comma-in-requestform/</guid>
		<description><![CDATA[Just in case you run into this weird situation: You have a web page with a rather extensive form (that really should be broken up into multiple pages, but that’s another discussion), submit the form, and you end up with extra commas that are getting submitted to your database.

Here’s one troubleshooting tip (that could save [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #000080;">Just in case you run into this weird situation: </span></strong>You have a web page with a rather extensive form (that really should be broken up into multiple pages, but that’s another discussion), submit the form, and you end up with extra commas that are getting submitted to your database.</p>
<p><img class="centered" src="http://usera.imagecave.com/webgyver/BLOG/long_form_01.gif" border="0" alt="Troubleshooting forms with extra commas in the fields" /></p>
<p><strong><span style="color: #000080;">Here’s one troubleshooting tip (that could save you the better part of an hour):</span></strong> Make sure you don’t happen to have multiple input fields with the same name. True story!</p>
<p>It doesn’t even matter whether you are using Classic ASP, PHP, ASP.NET, JSP, ColdFusion, AJAX or JavaScript: If you happen to have multiple fields with the same name, you will end up getting <span style="color: #008040; font-family: Courier New;"><strong>value 1, value 2…</strong></span> etc. in your form response.</p>
<p>Obviously, errors such as this stem from COPY &amp; PASTE jobs and deadline pressure. And it’s extremely easy to overlook something like this if you’re working with web designers and/or graphic artists who mock up the forms and then hand it over to the back-end developers.</p>
<p>As with any error that takes a while to track down, if somebody else runs into this kind of situation and spends a long time trying to figure out what’s going on (pulling their hair out and increasing the caffeine intake), all they say, when you figure out what’s going on and you tell them — thereby saving them additional minutes and/or hours of troubleshooting — is, “Oh, duh! That’s silly. Thanks.”</p>
<p>Yes, it is.</p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/HTML">HTML</a>, <a rel="tag" href="http://technorati.com/tag/Form">Form</a>, <a rel="tag" href="http://technorati.com/tag/Extra+Comma" class="broken_link" >Extra+Comma</a>, <a rel="tag" href="http://technorati.com/tag/POST">POST</a>, <a rel="tag" href="http://technorati.com/tag/GET">GET</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.webgyver.com/web-design-and-development/extra-comma-in-requestform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
