<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1003139" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1003139</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/more-form-help#comment-1013875</link>
    <description> &lt;p&gt;Bob: you can tally your results into a text file but you cant do it with client-side JavaScript. You need to use CGI for this using Perl, ASP or PHP etc... Try posting for help in either the Cgi &amp;amp; Perl Forum or the Misc. Scripting Languages Forum.&lt;/p&gt;
 </description>
     <pubDate>Thu, 25 May 2000 04:30:00 +0000</pubDate>
 <dc:creator>Lloyd Hassell</dc:creator>
 <guid isPermaLink="false">comment 1013875 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/more-form-help#comment-1013874</link>
    <description> &lt;p&gt;RC,&lt;/p&gt;
&lt;p&gt;Thanks!  That worked great! (actually I had to add document. in front of voteForm.Pres[x].checked to get it to work).&lt;/p&gt;
&lt;p&gt;OK, let me try to take it a step further.  Now I can easily dtermine within my script which candidates were voted for.  Is there an easy way to be able to use the script to tally these votes as they come in from different users?  Maybe there&#039;s a way to have a text file on my server with total vote numbers for each candidate which could be read, incremented according to which candidate was selected, and then written back out by my script?  Or perhaps there&#039;s another way?  Thanks again.&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;
 </description>
     <pubDate>Wed, 24 May 2000 23:54:00 +0000</pubDate>
 <dc:creator>Bob</dc:creator>
 <guid isPermaLink="false">comment 1013874 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/more-form-help#comment-1013873</link>
    <description> &lt;p&gt;Bob-&lt;/p&gt;
&lt;p&gt;This should do the trick.&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&quot;JavaScript&quot;&amp;gt;&amp;lt;!--&lt;br /&gt;
function validate(){&lt;br /&gt;
if (voteForm.Pres[0].checked == false &amp;amp;&amp;amp; voteForm.Pres[1].checked == false){&lt;br /&gt;
	alert(&quot;You must choose one fool!&quot;);&lt;br /&gt;
	 return false;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
//--&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;FORM NAME=&quot;voteForm&quot; onSubmit=&quot;return validate();&quot; METHOD=&quot;POST&quot;&amp;gt;&lt;br /&gt;
President:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=&quot;radio&quot; NAME=&quot;Pres&quot; VALUE=&quot;John&quot;&amp;gt;John&lt;br /&gt;
&amp;lt;INPUT TYPE=&quot;radio&quot; NAME=&quot;Pres&quot; VALUE=&quot;Lauren&quot;&amp;gt;Lauren&lt;br /&gt;
&amp;lt;input type=submit value=go&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 24 May 2000 20:20:00 +0000</pubDate>
 <dc:creator>RC</dc:creator>
 <guid isPermaLink="false">comment 1013873 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
