<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

      <title>Comments on: Webform problem</title>
      <link>http://ask.metafilter.com/71621/Webform-problem/</link>
      <description>Comments on Ask MetaFilter post Webform problem</description>
	  	  <pubDate>Sat, 15 Sep 2007 13:59:41 -0800</pubDate>
      <lastBuildDate>Sat, 15 Sep 2007 13:59:41 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: Webform problem</title>
  	<link>http://ask.metafilter.com/71621/Webform-problem</link>	
  	<description>Advice on how to set up a webpage that has a dynamic form. &lt;br /&gt;&lt;br /&gt; I have a business idea which I&apos;m going to start off as a free service to begin with and then hope that I get enough interest to begin charging for my services.  The idea requires a website which has a basic form, probably some JavaScript, and maybe a blog function where people can discuss what is posted.&lt;br&gt;
&lt;br&gt;
I think I&apos;ll be fine with the blog setup, but I need to figure out how to create a form that has a text box where the number of characters in that text box and a fee based on the number of characters is displayed.  I&apos;ll probably charge $1 for the first 200 characters, then an extra $1 for every 200 characters after that.  So, for example, if a person enters 134 characters they&apos;ll be charged $1.  If they enter 820 characters they&apos;ll be charged $10 etc etc.&lt;br&gt;
&lt;br&gt;
What would I need to do to create such a form?  I&apos;d prefer not to have to pay a webdesign company to put the webpage together.&lt;br&gt;
&lt;br&gt;
I did manage to find a free JavaScript page that can do the character count function, but I wouldn&apos;t have a clue how to code the other box which works out the fee based on the number of characters.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.dienhart.com/software/JavaScript_Snippets/index.html#&quot;&gt;This&lt;/a&gt; is the JavaScript character counter, and &lt;a href=&quot;http://img337.imageshack.us/my.php?image=webformoo5.jpg&quot;&gt;this&lt;/a&gt; is an extremely rough picture of how I&apos;d like the form to look.&lt;br&gt;
&lt;br&gt;
(of course there&apos;ll be a couple of other boxes asking for names and email addresses)&lt;br&gt;
&lt;br&gt;
Your help would be much appreciated!</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2007:site.71621</guid>
  	<pubDate>Sat, 15 Sep 2007 13:53:03 -0800</pubDate>
  	<dc:creator>Jase_B</dc:creator>
	
	<category>webdesign</category>
	
	<category>javascript</category>
	
	<category>webforms</category>
	
</item>
<item>
  	<title>By: Brandon Blatcher</title>
  	<link>http://ask.metafilter.com/71621/Webform-problem#1066901</link>	
  	<description>&lt;a href=&quot;http://ask.metafilter.com/71463/oh-hai-i-needs-to-builds-webforms-pls-thx&quot;&gt;I ask a question about building forms recently&lt;/a&gt;. Some of the answers may help you.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.71621-1066901</guid>
  	<pubDate>Sat, 15 Sep 2007 13:59:41 -0800</pubDate>
  	<dc:creator>Brandon Blatcher</dc:creator>
</item>
<item>
  	<title>By: Rhomboid</title>
  	<link>http://ask.metafilter.com/71621/Webform-problem#1066952</link>	
  	<description>Note that while you can do the fee calculation in javascript for ease of display, you must ultimately do the fee calculation in a server side script for any serious calculation.  Otherwise, a user could simply plug in any fee amount they wanted.  Javascript runs on the client machine and can trivially be altered/tampered/defeated.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.71621-1066952</guid>
  	<pubDate>Sat, 15 Sep 2007 15:14:53 -0800</pubDate>
  	<dc:creator>Rhomboid</dc:creator>
</item>
<item>
  	<title>By: floam</title>
  	<link>http://ask.metafilter.com/71621/Webform-problem#1066965</link>	
  	<description>Like Rhomboid says, anything you do in JavaScript will be simply to make things obvious for the viewer, the real calculations are going to be done on the server. You&apos;re not interested in hiring somebody, but it might not be a bad idea to pay somebody off craigslist (or mefi jobs!, or me!) a couple hundred bucks to throw together a working solution for you. Copy-and-paste web development usually ends in tears and ruined lives.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.71621-1066965</guid>
  	<pubDate>Sat, 15 Sep 2007 15:36:28 -0800</pubDate>
  	<dc:creator>floam</dc:creator>
</item>
<item>
  	<title>By: rhizome</title>
  	<link>http://ask.metafilter.com/71621/Webform-problem#1067049</link>	
  	<description>That doesn&apos;t sound dynamic as much as having some kind of function to submit the number of characters in the text box with the body of the request. Do a server-side calc of the price and refresh the page with the price.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.71621-1067049</guid>
  	<pubDate>Sat, 15 Sep 2007 17:02:13 -0800</pubDate>
  	<dc:creator>rhizome</dc:creator>
</item>
<item>
  	<title>By: Jase_B</title>
  	<link>http://ask.metafilter.com/71621/Webform-problem#1067055</link>	
  	<description>Hmm, sounds like it takes a little more than I thought.  Thanks for the replies!</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.71621-1067055</guid>
  	<pubDate>Sat, 15 Sep 2007 17:07:25 -0800</pubDate>
  	<dc:creator>Jase_B</dc:creator>
</item>

    </channel>
</rss>
