<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1024093" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1024093</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150825</link>
    <description> &lt;p&gt;Hi jon,&lt;/p&gt;
&lt;p&gt;1) why are you using checkboxes if the user should only check one?&lt;br /&gt;
2) if you want it to be dynamic, you need to recalculate the total whenever a box/button is clicked and a quantity changed (which should be a droplist since you don&#039;t want people writing &quot;!&quot; instead of &quot;1&quot; because they don&#039;t realize they are pressing the shift key.)&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2004 15:51:35 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1150825 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150591</link>
    <description> &lt;p&gt;And you do have a problem when unchecking options. If the form was submitted instead of calculated on the fly, this wouldn&#039;t happen, and people could check/uncheck as they pleased, but without the instant feedback... It&#039;s a tough call.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Apr 2004 20:30:48 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1150591 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150590</link>
    <description> &lt;p&gt;You may want to calculate the quantity * total within the form elements instead of within the function.&lt;/p&gt;
&lt;p&gt;Personally, I would recommend that you contact Abhi or Vincent about their availability if you&#039;re doing it in JavaScript.&lt;/p&gt;
&lt;p&gt;If you&#039;re interested in server-side processing and increasing the ability to control the data that people calculate, you could post an advertisement in the MarketPlace.&lt;/p&gt;
&lt;p&gt;Outside of that, you can contact local colleges and universities, and of course local programmers in your area -- see the Chamber of Commerce or your yellow pages.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Apr 2004 20:27:35 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1150590 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thanks Again for all the help</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150584</link>
    <description> &lt;p&gt;What I have now is this&lt;a href=&quot;http://www.gettent.com/framequote/test.htm&quot; class=&quot;bb-url&quot;&gt;http://www.gettent.com/framequote/test.htm&lt;/a&gt; It does not come close to what i would like it to do. The quanity doubles when checking  a box  and unchecking a box.  I would like for the user to fill in all the options and then choose the quanity at the end. But then I will come into a problem if they change one of the options, or change the quanity.   &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt; &lt;/p&gt;
&lt;p&gt;How much do you think a programmer would cost to take on this task, and where would I find one.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Apr 2004 17:45:24 +0000</pubDate>
 <dc:creator>jondavis45</dc:creator>
 <guid isPermaLink="false">comment 1150584 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150579</link>
    <description> &lt;p&gt;Getting the variable &lt;em&gt;quan&lt;/em&gt; is fine, but you only need to calculate it with the final variable, no? You don&#039;t need to add it into the other calculations because you&#039;re only dealing with *one item* at a time. Just take it and multiply it against the total.&lt;/p&gt;
&lt;p&gt;If you&#039;re shipping within the US, the USPS has shipping calculators available to be added in. So does UPS and FedEX. &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.zencart.com&quot; class=&quot;bb-url&quot;&gt;zencart.com&lt;/a&gt; is an open source cart that allows for many options for a product. I don&#039;t know if it would include as many options as you currently have in the way that you have them. It may be better for you to hire someone to construct this for you using a server-side language -- it&#039;s more secure and you have more options on how you handle (and provide) the data in the first place. &lt;/p&gt;
&lt;p&gt;I understand what you&#039;re trying to do, and I&#039;m not trying to belittle your considerable efforts, but it seems that this is one of those things that may be costing you heavily in opportunity cost, more than it&#039;s saving you in dollars by doing it yourself.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Apr 2004 17:09:44 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1150579 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>thank for that</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150571</link>
    <description> &lt;p&gt;Not really a programmer, of any kind. This is what I have now&lt;a href=&quot;http://www.gettent.com/framequote/test.htm&quot; class=&quot;bb-url&quot;&gt;http://www.gettent.com/framequote/test.htm&lt;/a&gt;&lt;br /&gt;
I do not beleive I will be able to add a quanity to the script without messing it up. What I would like for it to do is just multiple the total amount by the quanity entered regardless of what is checked or unchecked. &lt;/p&gt;
&lt;p&gt;This script is for quoting purposes only that is why a shopping cart was not used. If you know of any script for purchace that will handle what I have now plus quanity and maybe a way to quote shipping. I would be all ears.  &lt;/p&gt;
&lt;p&gt;Anyway thanks for the help.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Apr 2004 16:08:42 +0000</pubDate>
 <dc:creator>jondavis45</dc:creator>
 <guid isPermaLink="false">comment 1150571 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150566</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;var total = quan * amt;&lt;br /&gt;document.Forder.Total_Amount.value = total;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;It&#039;s just math, hon.&lt;/p&gt;
&lt;p&gt;If you&#039;re going to do this, you need to learn how it&#039;s done or you&#039;re going to get bamboozled and run into big issues with your business. This is a bad way to run a shopping cart.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Apr 2004 15:42:41 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1150566 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Nothing so far</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150565</link>
    <description> &lt;p&gt;here is what I got so far &lt;a href=&quot;http://www.gettent.com/framequote/test.htm&quot; class=&quot;bb-url&quot;&gt;http://www.gettent.com/framequote/test.htm&lt;/a&gt; .&lt;br /&gt;
I understand that this function runs the whole script.&lt;br /&gt;
&amp;lt;script language=&quot;JavaScript&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;function CBoxClick(c)&lt;br /&gt;
{&lt;br /&gt;
        var quan = document.Forder.quanity.value;&lt;br /&gt;
        var amt = document.Forder.Total_Amount.value;&lt;br /&gt;
        var itemno = Number(document.Forder.item_number.value);&lt;br /&gt;
        amt = (Number(amt)*quan)+(Number(c.checked?1:-1)*Number(c.value))+ .001;&lt;br /&gt;
        if (amt &amp;lt; 0) amt = 0;&lt;br /&gt;
        amt = amt.toString();&lt;br /&gt;
		if (amt.indexOf(&#039;.&#039;) == -1)&lt;br /&gt;
        amt += &#039;.&#039;;&lt;br /&gt;
        amt += &quot;00&quot;;&lt;br /&gt;
		amt = amt.substring(0, amt.indexOf(&#039;.&#039;)+3);&lt;br /&gt;
        document.Forder.Total_Amount.value = amt;&lt;br /&gt;
		document.Forder.quanity.value = quan;&lt;/p&gt;
&lt;p&gt;        itemno += (Number(c.checked?1:-1)*Number(c.id));&lt;br /&gt;
        document.Forder.item_number.value = itemno;&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;I tried to make a var. for the quanity and work it into the script but as I said before I do not know a whole lot about javascript. I do not know how to go about this, I would be greatful for any help&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Apr 2004 15:35:11 +0000</pubDate>
 <dc:creator>jondavis45</dc:creator>
 <guid isPermaLink="false">comment 1150565 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150561</link>
    <description> &lt;p&gt;Jon, why don&#039;t you give it a try and see if you can swing it? I know you can look at the other information in the script. You should know what a form input element looks like. If you try and can&#039;t do it, then come back with what you wrote and we&#039;ll help you with the syntax.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Apr 2004 15:08:13 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1150561 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thanks for the reply</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/dynamic-forms#comment-1150558</link>
    <description> &lt;p&gt;I understand thats what I have to do but not knowing alot about javascript, I do not know how to do accomplish it.&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Apr 2004 13:54:48 +0000</pubDate>
 <dc:creator>jondavis45</dc:creator>
 <guid isPermaLink="false">comment 1150558 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
