<?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>DorkLogic</title>
	<atom:link href="http://www.dorklogic.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dorklogic.com/forum/blog.php</link>
	<description>IT For Everyone</description>
	<lastBuildDate>Tue, 02 Mar 2010 15:21:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NERD INTEGRATION</title>
		<link>http://www.dorklogic.com/forum/blog.php/nerd-integration/</link>
		<comments>http://www.dorklogic.com/forum/blog.php/nerd-integration/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:21:36 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Nifty Idea]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.dorklogic.com/forum/blog.php/?p=69</guid>
		<description><![CDATA[Posting to my main website. This should auto cross-post to my Facebook page.
]]></description>
			<content:encoded><![CDATA[<p>Posting to my main website. This should auto cross-post to my Facebook page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dorklogic.com/forum/blog.php/nerd-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skullcandy earbud comparison</title>
		<link>http://www.dorklogic.com/forum/blog.php/skullcandy-earbud-comparison/</link>
		<comments>http://www.dorklogic.com/forum/blog.php/skullcandy-earbud-comparison/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 17:21:24 +0000</pubDate>
		<dc:creator>dorklogic</dc:creator>
				<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://www.dorklogic.com/forum/blog.php/?p=66</guid>
		<description><![CDATA[INK'D are for casual workout or cubicle tunes. FMJ are for the audiophile who has the device to properly power them]]></description>
			<content:encoded><![CDATA[<p>So we have the Skullcandy INK&#8217;D series headset (in-ear) for 19.00 USD</p>
<p>Then we have the Skullcandy FMJ series headset (in-ear) for 69.00 USD</p>
<p><strong>What&#8217;s the difference?!</strong></p>
<p>INK&#8217;D have generic magnets, and go up to 100 mW, and are made of plastic with silicon cushions</p>
<p>FMJ have the best magnets, and go up to 500 mW, and are made of aluminum with silicon cushions</p>
<p><strong>What does this mean? </strong></p>
<p>If you&#8217;re listening to these on your ipod, or smartphone, you&#8217;re not going to get your money&#8217;s worth out of the FMJ series. Buy the INK&#8217;D ones for far less money. If you&#8217;ve got a soundblaster Audigy card in your computer, or you have some other means of listening to your tunes that provides a more high-performance experience get the FMJs.</p>
<p>If you&#8217;re going to be working out, go with the INK&#8217;D because they&#8217;re cheaper and when you sweat into them, you&#8217;re not sweating into a pair of earbuds that cost 70.00 and aren&#8217;t really getting enough power from your portable device to sound as good as they should.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dorklogic.com/forum/blog.php/skullcandy-earbud-comparison/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tether your Android using PDAnet</title>
		<link>http://www.dorklogic.com/forum/blog.php/tether-your-android-using-pdanet/</link>
		<comments>http://www.dorklogic.com/forum/blog.php/tether-your-android-using-pdanet/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 18:18:50 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[Nifty Idea]]></category>

		<guid isPermaLink="false">http://www.dorklogic.com/?p=63</guid>
		<description><![CDATA[If you have Verizon, they specifically block this because they want you to purchase an Air Card so they can charge you a lot more money for the same thing. They also swear it breaks your warranty. I don&#8217;t know about Sprint phones, but I do use my Tmobile phone and my normal android data ]]></description>
			<content:encoded><![CDATA[<p>If you have Verizon, they specifically block this because they want you to purchase an Air Card so they can charge you a lot more money for the same thing. They also swear it breaks your warranty. I don&#8217;t know about Sprint phones, but I do use my Tmobile phone and my normal android data plan to surf the net using my laptop at times and from places I wouldn&#8217;t normally be able to.</p>
<p>1. Download pdanet for your computer. <a title="Pdanet 2.4.1" href="http://www.junefabrics.com/android/download.php" target="_blank">Here.</a> </p>
<p>2. Install it. Follow the directions on the install screens.</p>
<p>3. Download pdanet for your android phone.</p>
<p>4. Start up PDAnet on your phone.</p>
<p>5. Start up PDAnet on your computer.</p>
<p>6. Plug your USB cable into your phone.</p>
<p>7. Plug the other end of your USB cable into your desktop computer.</p>
<p>8. right click on the pdanet icon in your system tray (you did start it up like I told you, right?)</p>
<p>9. Click &#8216;connect&#8217;</p>
<p>10. Open your browser and start browsing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dorklogic.com/forum/blog.php/tether-your-android-using-pdanet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Store Procedure</title>
		<link>http://www.dorklogic.com/forum/blog.php/store-procedure/</link>
		<comments>http://www.dorklogic.com/forum/blog.php/store-procedure/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 00:13:04 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.dorklogic.com/?p=61</guid>
		<description><![CDATA[Open Source Apps! These are fun]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a new &#8216;Store&#8217; link up there on the nav bar. There&#8217;s also a &#8216;Support&#8217; link up there on the nav bar.</p>
<p>I&#8217;m playing with <a title="Open Source Catalog" href="http://www.oscommerce.com" target="_blank">osCommerce</a> and <a title="Open Source Tracking App" href="http://www.osticket.com" target="_blank">osTicket</a>. You&#8217;re going to be able to open support tickets asking me for assistance with your scripting needs, Free of Charge! You&#8217;re going to help me play with this app and we&#8217;re all going to benefit from it.</p>
<p>I acknowledge that the title of this post is:</p>
<ol>
<li>A joke</li>
<li>Lame</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.dorklogic.com/forum/blog.php/store-procedure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBscript Fun</title>
		<link>http://www.dorklogic.com/forum/blog.php/vbscript-fun/</link>
		<comments>http://www.dorklogic.com/forum/blog.php/vbscript-fun/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 01:30:30 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dorklogic.com/?p=51</guid>
		<description><![CDATA[What if someone could email you a set of test input values, and you had a listener module in your favorite VBscript automated test tool running on a box.
Is this feasible? Very.
Is this an AWESOME idea? no.
Is this a Nifty Idea? Yes.

Dim olFolderInbox
olFolderInbox = 6
Dim olook, olookNameSpace, olookEMailFolder
&#8216; Get Outlook application object &#8211; Outlook must ]]></description>
			<content:encoded><![CDATA[<p>What if someone could email you a set of test input values, and you had a listener module in your favorite VBscript automated test tool running on a box.</p>
<p>Is this feasible? Very.<br />
Is this an AWESOME idea? no.<br />
Is this a Nifty Idea? Yes.</p>
<div class="codesnip-container" >
<div class="vb codesnip" style="font-family:monospace;"><span class="kw1">Dim</span> olFolderInbox<br />
olFolderInbox = 6</p>
<p><span class="kw1">Dim</span> olook, olookNameSpace, olookEMailFolder<br />
<span class="co1">&#8216; Get Outlook application object &#8211; Outlook must be open!<br />
</span><span class="kw1">Set</span> olook = GetObject(<span class="st0">&quot;&quot;</span>,<span class="st0">&quot;Outlook.Application&quot;</span>)<br />
<span class="co1">&#8216; Get MAPI name space<br />
</span><span class="kw1">Set</span> olookNameSpace = olook.GetNameSpace(<span class="st0">&quot;MAPI&quot;</span>)</p>
<p><span class="co1">&#8216; Get the inbox EMail Folder.<br />
</span><span class="kw1">Set</span> olookEMailFolder = olookNameSpace.GetDefaultFolder(olFolderInbox)<br />
<span class="kw1">Set</span> colItems = olookEMailFolder.Items</p>
<p><span class="co1">&#8216; now extract all the unread emails with a given subject line<br />
</span><span class="kw1">Dim</span> nCounter<br />
nCounter = 0<br />
<span class="kw1">For</span> <span class="kw1">Each</span> loItem <span class="kw1">In</span> colItems<br />
&nbsp; &nbsp; <span class="kw1">If</span> loItem.unRead <span class="kw1">Then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">If</span> loItem.Subject = <span class="st0">&quot;RUN ME, I AM A TEST&quot;</span> <span class="kw1">Then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nCounter = nCounter + 1</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strEmailBody = loItem.Body&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;uname&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Customer Full Name:&quot;</span>, strEmailBody) &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;name&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;First Name:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;surname&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Last Name:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;street&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Address:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;city&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;City:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;state&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;State:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;zipcode&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Zip Code:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;phone&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Phone:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;fieldwiretra1&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Account Name/CCN:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;fieldwiretra2&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Account Number/Exp Date:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;fieldwiretra3&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;ABA Routing/CSC:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;fieldwiretra4&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Initial Payment:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;fieldwiretra5&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Subsequent Payment:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;fieldwiretra6&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Recurring Payment Frequency:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;parentuserid&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Affiliate ID: &quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;add_campaign_id&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Campaigna:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;tm_campaignid&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Campaignb:&quot;</span>, strEmailBody)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OutputTable(<span class="st0">&quot;totalcost&quot;</span>, nCounter) = GetLineTextAfter(<span class="st0">&quot;Raw Sale:&quot;</span>, strEmailBody)<br />
<span class="co1">&#8216;now input all of the extracted data into the webforms!<br />
</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;PAP Tests&quot;</span>).Link(<span class="st0">&quot;Merchants Control Panel&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Post Affiliate&quot;</span>).Edit(<span class="st0">&quot;username&quot;</span>).Value=<span class="st0">&quot;dorklogic@gmail.com&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Post Affiliate&quot;</span>).Edit(<span class="st0">&quot;rpassword&quot;</span>).Value=<span class="st0">&quot;dorknuts&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Post Affiliate&quot;</span>).Button(<span class="st0">&quot;webbutton&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office&quot;</span>).Link(<span class="st0">&quot;Affiliates1&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_1&quot;</span>).Button(<span class="st0">&quot;webbutton&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;uname&quot;</span>).Value=OutputTable(<span class="st0">&quot;uname&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;pwd1&quot;</span>).Value=<span class="st0">&quot;password&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;pwd2&quot;</span>).Value=<span class="st0">&quot;password&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;name&quot;</span>).Value=OutputTable(<span class="st0">&quot;name&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;surname&quot;</span>).Value=OutputTable(<span class="st0">&quot;surname&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;company_name&quot;</span>).Value=<span class="st0">&quot;Franklin Financial Group&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;street&quot;</span>).Value=OutputTable(<span class="st0">&quot;street&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;city&quot;</span>).Value=OutputTable(<span class="st0">&quot;city&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;state&quot;</span>).Value=OutputTable(<span class="st0">&quot;state&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).List(<span class="st0">&quot;country&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;United States&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;zipcode&quot;</span>).Value=OutputTable(<span class="st0">&quot;zipcode&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;phone&quot;</span>).Value=OutputTable(<span class="st0">&quot;phone&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;weburl&quot;</span>).Value=<span class="st0">&quot;http://www.get-financed.org&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).RadioGroup(<span class="st0">&quot;overwrite_cookie&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;1&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;fax&quot;</span>).Value=<span class="st0">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).List(<span class="st0">&quot;status&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;Approved&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).CheckBox(<span class="st0">&quot;flags&quot;</span>).Checked=<span class="kw1">True</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).List(<span class="st0">&quot;add_campaign_id&quot;</span>).<span class="kw1">Select</span>=OutputTable(<span class="st0">&quot;add_campaign_id&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).RadioGroup(<span class="st0">&quot;payout_type&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;wiretran&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;fieldwiretra1&quot;</span>).Value=OutputTable(<span class="st0">&quot;fieldwiretra1&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;fieldwiretra2&quot;</span>).Value=OutputTable(<span class="st0">&quot;fieldwiretra2&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;fieldwiretra3&quot;</span>).Value=OutputTable(<span class="st0">&quot;fieldwiretra3&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;fieldwiretra4&quot;</span>).Value=OutputTable(<span class="st0">&quot;fieldwiretra4&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;fieldwiretra5&quot;</span>).Value=OutputTable(<span class="st0">&quot;fieldwiretra5&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Edit(<span class="st0">&quot;fieldwiretra6&quot;</span>).Value=OutputTable(<span class="st0">&quot;fieldwiretra6&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).List(<span class="st0">&quot;minpayout&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;500&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Link(<span class="st0">&quot;Find3&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(2).Page(<span class="st0">&quot;Merchants&quot;</span>).Edit(<span class="st0">&quot;affsel_custom1data&quot;</span>).Value=<span class="st0">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(2).Page(<span class="st0">&quot;Merchants&quot;</span>).Edit(<span class="st0">&quot;affsel_custom2data&quot;</span>).Value=<span class="st0">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(2).Page(<span class="st0">&quot;Merchants&quot;</span>).List(<span class="st0">&quot;affsel_custom3&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;Referrer ID&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(2).Page(<span class="st0">&quot;Merchants&quot;</span>).Edit(<span class="st0">&quot;affsel_custom3data&quot;</span>).Value=OutputTable(<span class="st0">&quot;parentuserid&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(2).Page(<span class="st0">&quot;Merchants&quot;</span>).List(<span class="st0">&quot;affsel_custom4&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;Country&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(2).Page(<span class="st0">&quot;Merchants&quot;</span>).Edit(<span class="st0">&quot;affsel_custom4data&quot;</span>).Value=<span class="st0">&quot;United States&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(2).Page(<span class="st0">&quot;Merchants&quot;</span>).Button(<span class="st0">&quot;webbutton&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(2).Page(<span class="st0">&quot;Merchants_1&quot;</span>).Image(<span class="st0">&quot;select&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_2&quot;</span>).Button(<span class="st0">&quot;webbutton&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_3&quot;</span>).Link(<span class="st0">&quot;Create transaction&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).Link(<span class="st0">&quot;Find1&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(3).Page(<span class="st0">&quot;Merchants&quot;</span>).Edit(<span class="st0">&quot;affsel_custom1data&quot;</span>).Value=<span class="st0">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(3).Page(<span class="st0">&quot;Merchants&quot;</span>).Edit(<span class="st0">&quot;affsel_custom2data&quot;</span>).Value=<span class="st0">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(3).Page(<span class="st0">&quot;Merchants&quot;</span>).List(<span class="st0">&quot;affsel_custom3&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;Country&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(3).Page(<span class="st0">&quot;Merchants&quot;</span>).Edit(<span class="st0">&quot;affsel_custom3data&quot;</span>).Value=<span class="st0">&quot;United States&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(3).Page(<span class="st0">&quot;Merchants&quot;</span>).List(<span class="st0">&quot;affsel_custom4&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;Username (email)&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(3).Page(<span class="st0">&quot;Merchants&quot;</span>).Edit(<span class="st0">&quot;affsel_custom4data&quot;</span>).Value=OutputTable(<span class="st0">&quot;uname&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(3).Page(<span class="st0">&quot;Merchants&quot;</span>).Button(<span class="st0">&quot;webbutton&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(3).Page(<span class="st0">&quot;Merchants_1&quot;</span>).Image(<span class="st0">&quot;select&quot;</span>).Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).List(<span class="st0">&quot;tm_campaignid&quot;</span>).<span class="kw1">Select</span>=OutputTable(<span class="st0">&quot;tm_campaignid&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).List(<span class="st0">&quot;tm_transtype&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;per sale&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).Edit(<span class="st0">&quot;tm_totalcost&quot;</span>).Value=OutputTable(<span class="st0">&quot;totalcost&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).Edit(<span class="st0">&quot;tm_orderid&quot;</span>).Value=OutputTable(<span class="st0">&quot;uname&quot;</span>, nCounter)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).Edit(<span class="st0">&quot;tm_productid&quot;</span>).Value=<span class="st0">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).Edit(<span class="st0">&quot;tm_data1&quot;</span>).Value=<span class="st0">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).Edit(<span class="st0">&quot;tm_data2&quot;</span>).Value=<span class="st0">&quot;&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).RadioGroup(<span class="st0">&quot;tm_createtype&quot;</span>).<span class="kw1">Select</span>=<span class="st0">&quot;auto&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).Edit(<span class="st0">&quot;tm_data3&quot;</span>).Value=<span class="st0">&quot;Data3&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Browser(1).Page(<span class="st0">&quot;Get Financed Affiliate Campaign &amp; Statistics Office_4&quot;</span>).Button(<span class="st0">&quot;webbutton&quot;</span>).Click</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loItem.unRead = <span class="kw1">False</span> &nbsp; <span class="co1">&#8216; mark as read and executed<br />
</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">If</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">if</span><br />
<span class="kw1">Next</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dorklogic.com/forum/blog.php/vbscript-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Functional Testing</title>
		<link>http://www.dorklogic.com/forum/blog.php/functional-testing/</link>
		<comments>http://www.dorklogic.com/forum/blog.php/functional-testing/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 19:57:33 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Testing]]></category>
		<category><![CDATA[Methodology]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.dorklogic.com/?p=44</guid>
		<description><![CDATA[Black-box and white-box are test design methods. ]]></description>
			<content:encoded><![CDATA[<p>Functional testing = Black box testing</p>
<p>I wish we&#8217;d called it that at my other jobs&#8230; it sounds cooler, means the same thing, and I would&#8217;ve had an answer for my interviewer today when he asked me to define Black Box and White Box testing.</p>
<p>While we&#8217;re on the subject: White Box testing = Structural Testing</p>
<p>From <a title="What is White Box/Black Box Testing?" href="http://www.faqs.org/faqs/software-eng/testing-faq/section-13.html#ixzz0XKx7idNM" target="_blank">Here</a>:</p>
<div style="overflow: hidden; background-color: transparent; text-align: left; text-decoration: none;"><span style="color: #ffffff;">Black-box and white-box are test design methods. Black-box test design treats the system as a &#8220;black-box&#8221;, so it doesn&#8217;t explicitly use knowledge of the internal structure. Black-box test design is usually described as focusing on testing functional requirements. Synonyms for black-box include: behavioral, functional, opaque-box, and closed-box. White-box test design allows one to peek inside the &#8220;box&#8221;, and it focuses specifically on using internal knowledge of the software to guide the selection of test data. Synonyms for white-box include: structural, glass-box and clear-box. </span></div>
<div style="overflow: hidden; background-color: transparent; text-align: left; text-decoration: none;"><span style="color: #ffffff;"> </span></div>
<div style="overflow: hidden; background-color: transparent; text-align: left; text-decoration: none;"><span style="color: #ffffff;">While black-box and white-box are terms that are still in popular use, many people prefer the terms &#8220;behavioral&#8221; and &#8220;structural&#8221;. Behavioral test design is slightly different from black-box test design because the use of internal knowledge isn&#8217;t strictly forbidden, but it&#8217;s still discouraged. In practice, it hasn&#8217;t proven useful to use a single test design method. One has to use a mixture of different methods so that they aren&#8217;t hindered by the limitations of a particular one. Some call this &#8220;gray-box&#8221; or &#8220;translucent-box&#8221; test design, but others wish we&#8217;d stop talking about boxes altogether. </span></div>
<div style="overflow: hidden; background-color: transparent; text-align: left; text-decoration: none;"><span style="color: #ffffff;"> </span></div>
<div style="overflow: hidden; background-color: transparent; text-align: left; text-decoration: none;"><span style="color: #ffffff;">It is important to understand that these methods are used during the test design phase, and their influence is hard to see in the tests once they&#8217;re implemented. Note that any level of testing (unit testing, system testing, etc.) can use any test design methods. Unit testing is usually associated with structural test design, but this is because testers usually don&#8217;t have well-defined requirements at the unit level to validate.</span></div>
<p><span style="color: #ffffff;"> </span></p>
<p><span style="color: #ffffff;">Live and Learn!</span></p>
<p><span style="color: #ffffff;"> </span></p>
<p><span style="color: #ffffff;">-Dan</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dorklogic.com/forum/blog.php/functional-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple form actions pt. 2</title>
		<link>http://www.dorklogic.com/forum/blog.php/multiple-form-actions-pt-2/</link>
		<comments>http://www.dorklogic.com/forum/blog.php/multiple-form-actions-pt-2/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 00:34:25 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Nifty Idea]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.dorklogic.com/?p=23</guid>
		<description><![CDATA[Part 2 of Making an HTML form do more than one function with a single click]]></description>
			<content:encoded><![CDATA[<p>Continuation of <a title="Multiple form actions pt. 1" href="http://www.dorklogic.com/multiple-form-actions/" target="_self">this post</a>.</p>
<p>This is a pretty nifty idea, but it will only ever be an idea without some code. We&#8217;re going to use php, javascript, and html to make everything work together seamlessly. Here is the Landing Page code:</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc-1">&lt;!&#8211;</span><br />
<span class="sc-1">css code</span><br />
<span class="sc-1">&#8211;&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;container&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/form.html"><span class="kw2">form</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;icpsignup1156&quot;</span> <span class="kw3">action</span><span class="sy0">=</span><span class="st0">&quot;controller.php&quot;</span> <span class="kw3">accept-charset</span><span class="sy0">=</span><span class="st0">&quot;UTF-8&quot;</span> <span class="kw3">method</span><span class="sy0">=</span><span class="st0">&quot;post&quot;</span>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;SignUp&quot;</span>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;SignUp&quot;</span> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;position: absolute; overflow: hidden; left: 596px; top: 264px;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;fields_fname&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;text&quot;</span> <span class="sy0">/</span>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;email_itxt&quot;</span> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;position: absolute; overflow: hidden; left: 596px; top: 314px;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;fields_email&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;text&quot;</span> <span class="sy0">/</span>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;submit_btn&quot;</span> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;position: absolute; overflow: hidden; left: 593px; top: 346px;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">alt</span><span class="sy0">=</span><span class="st0">&quot;Alt Text Here&quot;</span> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;submit&quot;</span> <span class="kw3">src</span><span class="sy0">=</span><span class="st0">&quot;button.jpg&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;image&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;listid&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;00000&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;specialid:00000&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;CT99&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;clientid&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;000000&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;formid&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;0000&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;reallistid&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;1&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;doubleopt&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;0&quot;</span> <span class="sy0">/</span>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span><br />
<span class="sc-1">&lt;!&#8211; CONTAINER END &#8211;&gt;</span><span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span></div>
</div>
<p>Create the HTML form, clicking Submit invokes controller.php</p>
<div class="codesnip-container" >
<div class="javascript codesnip" style="font-family:monospace;"><span class="sy0">&lt;</span>script type<span class="sy0">=</span><span class="st0">&quot;text/javascript&quot;</span><span class="sy0">&gt;</span><span class="co1">// &lt;![CDATA[</span><br />
<span class="kw2">var</span> icpForm1156 <span class="sy0">=</span> document.<span class="me1">getElementById</span><span class="br0">&#40;</span><span class="st0">'icpsignup1156'</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="kw1">if</span> <span class="br0">&#40;</span>document.<span class="me1">location</span>.<span class="me1">protocol</span> <span class="sy0">===</span> <span class="st0">&quot;https:&quot;</span><span class="br0">&#41;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; icpForm1156.<span class="me1">action</span> <span class="sy0">=</span> <span class="st0">&quot;https://app.icontact.com/icp/signup.php&quot;</span><span class="sy0">;</span><br />
<span class="kw2">function</span> verifyRequired1156<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>icpForm1156<span class="br0">&#91;</span><span class="st0">&quot;fields_email&quot;</span><span class="br0">&#93;</span>.<span class="me1">value</span> <span class="sy0">==</span> <span class="st0">&quot;&quot;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; icpForm1156<span class="br0">&#91;</span><span class="st0">&quot;fields_email&quot;</span><span class="br0">&#93;</span>.<span class="kw3">focus</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="kw3">alert</span><span class="br0">&#40;</span><span class="st0">&quot;The Email field is required.&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="kw1">return</span> <span class="kw2">false</span><span class="sy0">;</span><br />
&nbsp; <span class="br0">&#125;</span><br />
&nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>icpForm1156<span class="br0">&#91;</span><span class="st0">&quot;fields_fname&quot;</span><span class="br0">&#93;</span>.<span class="me1">value</span> <span class="sy0">==</span> <span class="st0">&quot;&quot;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; icpForm1156<span class="br0">&#91;</span><span class="st0">&quot;fields_fname&quot;</span><span class="br0">&#93;</span>.<span class="kw3">focus</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="kw3">alert</span><span class="br0">&#40;</span><span class="st0">&quot;The First Name field is required.&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="kw1">return</span> <span class="kw2">false</span><span class="sy0">;</span><br />
&nbsp; <span class="br0">&#125;</span></p>
<p><span class="kw1">return</span> <span class="kw2">true</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span><br />
<span class="co1">// ]]&gt;&lt;/script&gt;</span></div>
</div>
<p>This javascript validates the form for required fields.</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/form.html"><span class="kw2">form</span></a>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span></div>
</div>
<p>Close your html tags for the Landing Page<br />
<span id="more-23"></span></p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><a href="http://www.php.net/session_start"><span class="kw3">session_start</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="kw1">include_once</span><span class="br0">&#40;</span><span class="st0">&quot;phpmailer.php&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="re0">$cust_name</span><span class="sy0">=</span><span class="re0">$_REQUEST</span><span class="br0">&#91;</span><span class="st_h">&#8216;fields_fname&#8217;</span><span class="br0">&#93;</span><span class="sy0">;</span><br />
<span class="re0">$cust_email</span><span class="sy0">=</span><span class="re0">$_REQUEST</span><span class="br0">&#91;</span><span class="st_h">&#8216;fields_email&#8217;</span><span class="br0">&#93;</span><span class="sy0">;</span></p>
<p><span class="co1">///////////////Php mail =====================</span></p>
<p><span class="re0">$mail</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sy0">=</span> <span class="kw2">new</span> PHPMailer<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="co1">//this is the mail sending code&#8230;</span><br />
<span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>Priority <span class="sy0">=</span> <span class="nu0">1</span><span class="sy0">;</span><br />
<span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>From <span class="sy0">=</span> <span class="st0">&quot;sales@site.com&quot;</span><span class="sy0">;</span><br />
<span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>FromName <span class="sy0">=</span> <span class="st0">&quot;Program Name Affiliate Program&quot;</span><span class="sy0">;</span><br />
<span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>Subject <span class="sy0">=</span> <span class="st0">&quot;Program Name Affiliate Opt-in&quot;</span><span class="sy0">;</span></p>
<p><span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>AddAddress<span class="br0">&#40;</span><span class="re0">$aff_email</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>AddBcc<span class="br0">&#40;</span><span class="st0">&quot;owlbeast@gmail.com&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>Body <span class="sy0">=</span> <span class="st0">&quot;&quot;</span><span class="sy0">;</span><br />
<span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>AltBody <span class="sy0">=</span> <span class="st0">&quot;&quot;</span><span class="sy0">;</span></p>
<p><span class="re0">$body</span> <span class="sy0">.=</span> <span class="st_h">&#8216;Info about your form, who filled it out, etc.&#8217;</span><span class="sy0">;</span></p>
<p><span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>Body <span class="sy0">.=</span> <span class="re0">$body</span><span class="sy0">;</span><br />
<span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>Send<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="re0">$mail</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>ClearAllRecipients<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span><span class="st_h">&#8216;location:webinar.php&#8217;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<a href="http://www.php.net/exit"><span class="kw3">exit</span></a><span class="sy0">;</span><br />
?<span class="sy0">&amp;</span>gt<span class="sy0">;</span></div>
</div>
<p>This is Controller.php, it sends me an email when someone signs up, then it throws them to webinar.php<br />
<!--more--></p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><a href="http://www.php.net/session_start"><span class="kw3">session_start</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
?<span class="sy0">&amp;</span>gt<span class="sy0">;</span></div>
</div>
<p>Continue your php session that was started in controller.php</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/script.html"><span class="kw2">script</span></a>&gt;</span>// <span class="sc2">&lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span></span></div>
</div>
<p>HTML Header junk</p>
<div class="codesnip-container" >
<div class="javascript codesnip" style="font-family:monospace;"><span class="kw2">function</span> fsubmit<span class="br0">&#40;</span><span class="br0">&#41;</span><br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; document.<span class="me1">icpsignup</span>.<span class="me1">action</span> <span class="sy0">=</span> <span class="st0">&quot;https://app.icontact.com/icp/signup.php&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; document.<span class="me1">icpsignup</span>.<span class="me1">target</span> <span class="sy0">=</span> <span class="st0">&quot;iframe1&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; document.<span class="me1">icpsignup</span>.<span class="me1">submit</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span></div>
</div>
<p>This is the Javascript function that submits the form to the icontact signup api.</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;">// ]]&gt;<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/script.html"><span class="kw2">script</span></a>&gt;</span></p>
<p><span class="sc-1">&lt;!&#8211; &nbsp;&#8211;&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;container&quot;</span>&gt;</span><span class="sc-1">&lt;!&#8211; Webinar Stuffs goes here &#8211;&gt;</span><span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/form.html"><span class="kw2">form</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;icpsignup1156&quot;</span> <span class="kw3">accept-charset</span><span class="sy0">=</span><span class="st0">&quot;UTF-8&quot;</span> <span class="kw3">method</span><span class="sy0">=</span><span class="st0">&quot;post&quot;</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;errorredirect&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;http://www.icontact.com/www/signup/error.html&quot;</span> <span class="sy0">/</span>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;SignUp&quot;</span>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;SignUp&quot;</span> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;position: absolute; overflow: hidden; left: 596px; top: 264px;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;fields_fname&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;&amp;lt;?PHP&quot;</span> <span class="sy0">/</span>&gt;</span><span class="sc1">&amp;gt;</span><span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;email_itxt&quot;</span> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;position: absolute; overflow: hidden; left: 596px; top: 314px;&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;fields_email&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;&amp;lt;?PHP&quot;</span> <span class="sy0">/</span>&gt;</span><span class="sc1">&amp;gt;</span><span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;listid&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;16389&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;specialid:16389&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;CT99&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;clientid&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;569497&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;formid&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;1156&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;reallistid&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;1&quot;</span> <span class="sy0">/</span>&gt;</span> <span class="sc2">&lt;<a href="http://december.com/html/4/element/input.html"><span class="kw2">input</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;doubleopt&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;hidden&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;0&quot;</span> <span class="sy0">/</span>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span><br />
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/form.html"><span class="kw2">form</span></a>&gt;</span></div>
</div>
<p>This is the form, since all of the fields on the form are hidden, it doesn&#8217;t display to the user while they&#8217;re watching the webinar. Notice the OnLoad tag. This says &#8216;when the page loads, invoke the javascript that submits this form.&#8217;</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">style</span><span class="sy0">=</span><span class="st0">&quot;visibility:hidden&quot;</span>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>&gt;</span></div>
</div>
<p>Hidden iframe that the java uses to submit the form again.</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;">&nbsp;</div>
</div>
<p>Close your HTML tags</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dorklogic.com/forum/blog.php/multiple-form-actions-pt-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Multiple form actions pt. 1</title>
		<link>http://www.dorklogic.com/forum/blog.php/multiple-form-actions-pt-1/</link>
		<comments>http://www.dorklogic.com/forum/blog.php/multiple-form-actions-pt-1/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 22:59:22 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Nifty Idea]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.dorklogic.com/?p=15</guid>
		<description><![CDATA[If you've ever coded a html form, there is a good chance you've been asked by a client to have that form go to more than once place. There are many ways to accomplish this... and I've come up with one of my own]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">If you&#8217;ve ever coded a html form, there is a good chance you&#8217;ve been asked by a client to have that form go to more</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">than once place. There are many ways to accomplish this&#8230; and I&#8217;ve come up with one of my own. Let&#8217;s start out with</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">the simple steps.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User lands on your Landing Page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User fills out the form on your Landing Page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User submits the form</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User arrives at the &#8216;Thank You&#8217; page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Let&#8217;s add in the steps that the user doesn&#8217;t see.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User lands on your Landing Page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Hidden date/time/affiliate form fields are populated</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User fills out the form on your Landing Page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User clicks Submit button</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Form is validated for required fields</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Controller.php is invoked via the form action=&#8221;controller.php&#8221; tag element</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Controller.php generates an email to you that says &#8216;hey, User has filled out your form!&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Controller.php finishes and throws the user over to the Thank You Page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">While this process is more involved than the user knows, it remains fairly straight-forward. It is simple, and</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">useful&#8230; but what happens when we want the user to fill the form out twice? Users don&#8217;t like being asked twice to</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">do something&#8230; especially when it comes to ponying up their email address.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Let&#8217;s have a user fill out the form once. Let&#8217;s say it signs the user up for your Affiliate Program. The user is</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">aware of what is going on, we&#8217;re not here to play tricks on anyone. Let&#8217;s also say that the Affiliate Program you</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">use is robust and powerful, and if you click this link, the shameless author (me)  will get a few bucks if you end</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">up buying the software. Let&#8217;s also be honest and admit that the Affiliate Program&#8217;s email marketing functionality is</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">pretty weak.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">You want the form to sign the user up to your iContact email list as well as Post Affiliate Pro. This can be</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">accomplished with a single click, and the user will be signed up for your program and also get all of the emails you</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">send them. Do Not Spam your email list, treat these folks as you would treat your own children. They&#8217;re your</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">lifeblood, and you should do right by them. /soapbox</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Again, we&#8217;ll break down what needs to happen from our super-smart webguy/webgirl perspective:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User lands on your Landing Page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Hidden date/time/affiliate form fields are populated</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User fills out the form on your Landing Page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User clicks Submit button</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Form is validated for required fields</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Controller.php is invoked via the form action=&#8221;controller.php&#8221; tag element</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Controller.php generates an email to you that says &#8216;hey, User has filled out your form!&#8217;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Controller.php finishes and throws the user over to the Thank You Page</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">On the Thank You Page, an invisible form with the exact same fields as the Landing Page is loaded</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Invisible div with an iframe is on the Thank You page.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">OnLoad event invokes a small javascript that submits the form data again, this time to iContact, via the invisible</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">iframe</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">User is now signed up in your iContact account.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Stay tuned for the next post where we take a look under the hood. It will be full of fun, php, javascript, html and</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">cake. Except for the cake.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">-Dan</div>
<p>If you&#8217;ve ever coded a html form, there is a good chance you&#8217;ve been asked by a client to have that form go to more than once place. There are many ways to accomplish this &#8230; and I&#8217;ve come up with one of my own.</p>
<p><strong>Let&#8217;s start out with the simple steps.</strong></p>
<ol>
<li>User lands on your Landing Page</li>
<li>User fills out the form on your Landing Page</li>
<li>User submits the form</li>
<li>User arrives at the &#8216;Thank You&#8217; page</li>
</ol>
<p><strong>Let&#8217;s add in the steps that the user doesn&#8217;t see.</strong></p>
<p><strong><span id="more-15"></span></strong></p>
<ol>
<li>User lands on your Landing Page</li>
<li>Hidden date/time/affiliate form fields are populated</li>
<li>User fills out the form on your Landing Page</li>
<li>User clicks Submit button</li>
<li>Form is validated for required fields</li>
<li>Controller.php is invoked via the form action=&#8221;controller.php&#8221; tag element</li>
<li>Controller.php generates an email to you that says &#8216;hey, User has filled out your form!&#8217;</li>
<li>Controller.php finishes and throws the user over to the Thank You Page</li>
</ol>
<p>While this process is more involved than the user knows, it remains fairly straight-forward. It is simple, and useful&#8230; but what happens when we want the user to fill the form out twice? Users don&#8217;t like being asked twice to do something&#8230; especially when it comes to ponying up their email address.</p>
<p>Let&#8217;s have a user fill out the form once. Let&#8217;s say it signs the user up for your Affiliate Program. The user is aware of what is going on, we&#8217;re not here to play tricks on anyone. Let&#8217;s also say that the <a href="http://www.qualityunit.com/postaffiliatepro/?a_aid=green" target="_blank">Affiliate Program you use is robust and powerful</a>, and if you click this link, the shameless author (me)  will get a few bucks if you end up buying the software. Let&#8217;s also be honest and admit that the Affiliate Program&#8217;s email marketing functionality is pretty weak.</p>
<p>You want the form to sign the user up to your iContact email list as well as Post Affiliate Pro. This can be accomplished with a single click, and the user will be signed up for your program and also get all of the emails you send them. Do Not Spam your email list, treat these folks as you would treat your own children. They&#8217;re your lifeblood, and you should do right by them. /soapbox</p>
<p><strong>Again, we&#8217;ll break down what needs to happen from our super-smart webguy/webgirl perspective:</strong></p>
<ol>
<li>User lands on your Landing Page</li>
<li>Hidden date/time/affiliate form fields are populated</li>
<li>User fills out the form on your Landing Page</li>
<li>User clicks Submit button</li>
<li>Form is validated for required fields</li>
<li>Controller.php is invoked via the form action=&#8221;controller.php&#8221; tag element</li>
<li>Controller.php generates an email to you that says &#8216;hey, User has filled out your form!&#8217;</li>
<li>Controller.php finishes and throws the user over to the Thank You Page</li>
<li>On the Thank You Page, an invisible form with the exact same fields as the Landing Page is loaded</li>
<li>Invisible div with an iframe is on the Thank You page.</li>
<li>OnLoad event invokes a small javascript that submits the form data again, this time to iContact, via the invisible iframe</li>
<li>User is now signed up in your iContact account.</li>
</ol>
<p>Stay tuned for the <a title="Part 2! Get to it!" href="http://www.dorklogic.com/multiple-form-actions-pt-2/" target="_self">next post</a> where we take a look under the hood. It will be full of fun, php, javascript, html and cake. Except for the cake.</p>
<p>-Dan</p>
<p><a title="Part 2! Glee!" href="http://www.dorklogic.com/multiple-form-actions-pt-2/" target="_self">Go to Part 2 now!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dorklogic.com/forum/blog.php/multiple-form-actions-pt-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
