<?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>Propagator.net : Refine the web! &#187; open source</title>
	<atom:link href="http://www.propagator.net/tag/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.propagator.net</link>
	<description>Web Experts Group,Since 1999</description>
	<lastBuildDate>Thu, 25 Mar 2010 15:14:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<atom:link rel='hub' href='http://www.propagator.net/?pushpress=hub'/>
		<item>
		<title>Formcat:Form Validation Generator</title>
		<link>http://www.propagator.net/open-source-projects/formcat-project/</link>
		<comments>http://www.propagator.net/open-source-projects/formcat-project/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 09:34:40 +0000</pubDate>
		<dc:creator>propagator</dc:creator>
				<category><![CDATA[Formcat]]></category>
		<category><![CDATA[Open Source Projects]]></category>
		<category><![CDATA[add-on]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[smarty]]></category>

		<guid isPermaLink="false">http://web.propagator.net/?p=8</guid>
		<description><![CDATA[Auto-generate the javascript for client-side validation based on Smarty. It&#8217;s easy and flexible [Formcat on SourceForge] [Formcat on HotScripts] [Formcat on PHPCLASSES.ORG] News: BIG NEWS: FORMCAT 1.04 RELEASED. see online demo [2005-06-11]Formcat 1.04 released. Click here to download Formcat 1.04 Pro Version *Add &#8220;optional&#8221; attribute to all validator except &#8220;dateCompare&#8221;. *Fix a bug : When [...]]]></description>
			<content:encoded><![CDATA[<div class="sticky_post"><div><a href="http://web.propagator.net/wp-content/uploads/2010/03/formcat_logo.gif"><img class="alignnone size-medium wp-image-14" title="formcat_logo" src="http://web.propagator.net/wp-content/uploads/2010/03/formcat_logo-300x80.gif" alt="" width="300" height="80" /></a></div>
<div><strong><span style="color: #990000;">Auto-generate                        the javascript<br />
for client-side validation<br />
based on Smarty.<br />
It&#8217;s easy and flexible </span></strong><strong>[<a href="http://www.sourceforge.net/projects/formcat/" target="_blank">Formcat                         on SourceForge</a>]<br />
[<a href="http://www.hotscripts.com/Detailed/42693.html" target="_blank">Formcat                         on HotScripts</a>]<br />
[<a href="http://www.phpclasses.org/browse/package/2051.html" target="_blank">Formcat                        on PHPCLASSES.ORG</a>] </strong></p>
</div>
<h2><strong>News:</strong></h2>
<p><strong><span style="color: #ff0000;">BIG NEWS: FORMCAT 1.04 RELEASED.</span> <a href="http://www.propagator.net/formcat/demo/formcat_lite_example.php" target="_blank">see online demo</a></strong></p>
<p><span style="color: #800000;"><strong>[2005-06-11]Formcat 1.04 released.</strong></span><a href="http://www.propagator.net/site_files/src/formcat/formcat1.04-pro.zip" target="_blank"> Click here to download Formcat 1.04 Pro Version</a><br />
*Add &#8220;optional&#8221; attribute to all validator except &#8220;dateCompare&#8221;.<br />
*Fix a bug : When there are no form tags in template,formcat will return blank page.<br />
*Fix a bug: When there are no catform tags in template,formcat will return blank page.<br />
（<a href="http://www.propagator.net/open-source-projects/formcat/formcat-changelog/" target="_blank">Formcat&#8217;s changelog</a>)</p>
<p>You can also <a href="http://www.propagator.net/site_files/src/formcat/formcat1.04-lite.zip" target="_blank">download Formcat 1.04 Lite Version Here</a><br />
<span style="color: #990000;"><strong>[<a href="http://www.propagator.net/open-source-projects/formcat/formcat-documentation/" target="_blank">Formcat  1.04                                      Documentations Are Available Now</a>]  [<a href="http://www.propagator.net/open-source-projects/formcat/formcat-documentation/" target="_blank">Simplified                                       Chinese Version Doc</a>]</strong></span></p>
<p><span style="color: #990000;"><strong>click the button to donate:</strong></span></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <strong><br />
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="HT4KA8W8CH73W" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" type="image" />
<img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</strong></form>
<p><strong><a href="http://sourceforge.net/donate/index.php?group_id=127908"><img src="http://images.sourceforge.net/images/project-support.jpg" border="0" alt="Support This Project" width="88" height="32" /></a></strong></p>
<p><a href="http://web.propagator.net/wp-content/uploads/2010/03/product_formcat_s.gif"><img class="alignleft size-full wp-image-15" title="product_formcat_s" src="http://web.propagator.net/wp-content/uploads/2010/03/product_formcat_s.gif" alt="" width="150" height="164" /></a>Formcat is a class for performing form validation on the client side.Its goal is to generate Javascript code to validate forms before they are submited to the server.</p>
<p>It works as a plug-in for the <a id="aptureLink_RS0vbiFzJ3" href="http://en.wikipedia.org/wiki/Smarty">Smarty</a> template engine. It is a good complement SmartyValidate plug-in that performs server side validation.It supports many built-in validation criteria: empty, range, length,checkbox, radio button, integer, float, email, credit card, list menu,date, date comparison, equality between fields, file size, file type, custom validator calls.</p>
<p>{formcat &#8230;} tags can be located anywhere in the templates, regardless of where the corresponding fields are located in the form.</p>
<p><strong>Formcat  1.04 released.</strong> <a href="../site_files/src/formcat/formcat1.04-pro.zip" target="_blank">Click here to download Formcat 1.04 Pro Version</a></p>
<p><strong>Older Versions:</strong></p>
<p>[<a href="http://www.propagator.net/site_files/src/formcat/formcat1.03-pro.zip" target="_blank">Download  Formcat                                      1.03 here</a>] [<a href="http://www.phpinsider.com/php/code/SmartyValidate/SmartyValidate-2.3.tar.gz" target="_blank">Download                                      SmartyValidate 2.3 here</a>]</p>
<p>[<a href="../site_files/src/formcat/formcat1.02-pro.zip" target="_blank">Download   Formcat                                      1.02 here</a>]</p>
<p>[<a href="../site_files/src/formcat/formcat1.01-pro.zip" target="_blank">Download   Formcat                                      1.01 here</a>]</p>
<p>If you like the Formcat,don&#8217;t forget to donate.Your donation allows me keep the Formcat up-to-date,fun,cute,and easy to use.Thanks.</p>
<h2>Features:</h2>
<p>* Multi-forms in a page can be supported.<br />
* Supplied validation criteria to provide empty,range,length,checkbox,radio button,integer,float, email,credit card,list menu,date,date comparison,equality between fields,file size,file type&#8230;and customzied validator calls.Auto-genenrate the Javascript for client-side validation by &#8220;formcat tags&#8221; .</p>
<p>*<strong> {catform&#8230;} </strong>extra function attributes can make your validation colorfully and easily.<br />
* <strong>{formcat &#8230;}</strong> tags can be located anywhere in your template, regardless of where the corresponding fields are located.It&#8217;s very flexible.It&#8217;s very good soultion for validation combining the Smarty-Validate.</p>
<p>* Multiple validators may be used for one field.And User can add other validating javascript function into the function which auto-generated.</p>
<p>* Easy to expand the validator.just copy the custom validator to the validator directory</p>
<h2>Requirements:</h2>
<p>You must enable session management prior to using Formcat . Do this by calling session_start() at the top of your PHP application.Formcat also requires the Smarty template environment. [Download the Smarty template environment here]</p>
<h2>Installation:</h2>
<p><span style="color: #333300;"><strong>To install Formcat:</strong></span></p>
<p>* Copy the &#8216;formcat.class.php&#8217; file and &#8220;validators&#8221; directory(lite version don&#8217;t need to do that)to a place within your php_include path (or use absolute pathnames when including.)</p>
<p>* Copy all of the plugins to your Smarty plugin directory. (located in the plugins/ directory of the distribution.)</p>
<h2>Background:</h2>
<p>Form validation is one of the most frequently performed tasks when it comes to web application programming.In order to decrease the run load of server,we usually validate the data in client-side by Javascript or other script,but it&#8217;s a tedious and time-consuming task.</p>
<p>SmartyValidate is powerful class to provide form validation in server-side.I didn&#8217;t find a good solution for client-side validation.I heard that there&#8217;s a class could solve both. It&#8217;s Formsess.However,Formsess has following problems:</p>
<p>1.more bugs and no one supports.I found a few obvious bugs.</p>
<p>2.the manual seems a litte bit simple.According to it,you can&#8217;t get result as it said.</p>
<p>3.the fatal problem is that Formsess makes basic html tags change to the &#8220;fs tags&#8221; Unfortunately there are not HTML editors can detect them.It&#8217;s not user-friendly.</p>
<p>(Please forgive me for my personal opinion to Formsess.:-) )</p>
<p>Therefore, I developed the &#8220;Formcat&#8221; to solve them.It&#8217;s a part of my development framework which named &#8220;PIGCAT development framework&#8221;(not released yet).Formcat just performs the client-side validating.You basically provide the validation criteria and error messages,Formcat does the rest.</p>
<h2>Special Thanks:</h2>
<p><strong>Messju Mohr</strong> (from                      Smarty forum)<br />
<strong>Monte Ohrt </strong> (from  Smarty                      forum)<br />
<strong>boots</strong> (from Smarty  forum)<br />
<strong>Sylvestre Ledru</strong> (contributed  &#8220;flashFocus&#8221;                      extra function,<a href="http://sylvestre.ledru.info/" target="_blank">http://sylvestre.ledru.info/</a>)</p>
</div>
<h2  class="related_post_title">Related Articles</h2><ul class="related_post"><li><a href="http://www.propagator.net/open-source-projects/formcat/formcat-changelog/" title="Formcat changelog">Formcat changelog</a></li><li><a href="http://www.propagator.net/open-source-projects/formcat/formcats-faq/" title="Formcat&#8217;s FAQ">Formcat&#8217;s FAQ</a></li><li><a href="http://www.propagator.net/open-source-projects/formcat/formcat-documentation/" title="Formcat Documentation">Formcat Documentation</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.propagator.net/open-source-projects/formcat-project/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
