<?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>Stefan Gabos &#187; Zebra_Form</title>
	<atom:link href="http://stefangabos.ro/category/zebra-form/feed/" rel="self" type="application/rss+xml" />
	<link>http://stefangabos.ro</link>
	<description>web developer extraordinaire</description>
	<lastBuildDate>Mon, 06 May 2013 19:47:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Zebra_Form, version 2.9.2 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-2-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-2-now-available/#comments</comments>
		<pubDate>Thu, 18 Apr 2013 14:56:20 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=2100</guid>
		<description><![CDATA[I wanted to work some more on this release but in the end I decided to release it like it is because of the first bug in the list below. Some major changes are planned for the near future, one of them being integration with Twitter Bootstrap and Zurb&#8217;s Foundation and thus stepping boldly into [...]]]></description>
				<content:encoded><![CDATA[<p>I wanted to work some more on this release but in the end I decided to release it like it is because of the first bug in the list below. Some major changes are planned for the near future, one of them being integration with Twitter Bootstrap and Zurb&#8217;s Foundation and thus stepping boldly into the &#8220;responsive&#8221; era &#8211; the downside is that there will be some changes to the way custom templates need to be built &#8211; if you, like me, got used to the &#8220;row&#8221; class, well, it will be gone <img src='http://stefangabos.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>But, until next time, here&#8217;s what&#8217;s new in 2.9.2:</p>
<ul class="default">
<li>fixed a bug introduced in the previous release that broke functionality in IE8 and below&#8230;yes, I forgot a console.log() in the code!</li>
<li>fixed a bug where the &#8220;image&#8221; control would not have the &#8220;alt&#8221; attribute set, and so the resulting HTML could not be validated by the W3C validator;</li>
<li>fixed a bug where the iFrame used for checking uploaded files client-side was sometimes be visible on IE8 and below;</li>
<li>changed how the upload path needs to be specified for the &#8220;upload&#8221; rule, which now needs to be a full web path (so not server path nor a relative path) and &#8220;process.php&#8221; and the &#8220;_upload&#8221; method in Zebra_Form.php will automatically determine the correct server path to where to upload the files to; hopefully this will solve the problems people were having; still, being behind a reverse-proxy will require manual adjustment of the logic used both in &#8220;process.php&#8221; and in the &#8220;_upload&#8221; method in &#8220;Zebra_Form.php&#8221;;</li>
<li>the &#8220;dependencies&#8221; rule now also supports &#8220;submit&#8221; buttons/images; see the <a href="http://stefangabos.ro/wp-content/demos/Zebra_Form/?example=dependencies&#038;template=example2-custom">example</a> for a scenario where it makes sense;</li>
<li>removed the * (all) selector from CSS and now custom elements placed in both custom and auto-generated templates don&#8217;t suffer from it;</li>
<li>the &#8220;attach_tip&#8221; JavaScript method can now be used on any element, not just on those that already have rules attached;</li>
<li><a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Zebra_Form/Zebra_Form.html#methodclientside_validation">clientside_validation</a> method has a new &#8220;on_ready&#8221; property used for specifying a JavaScript function to be executed when the form is ready; useful for getting a reference to Zebra_Form object *after* it&#8217;s ready &#8211; see the documentation for an example;</li>
<li>updated Spanish language file; thanks <strong>WaKeMaTTa</strong>;</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-form/">Zebra_Form</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-2-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Form, version 2.9.1 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-1-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-1-now-available/#comments</comments>
		<pubDate>Sun, 10 Mar 2013 08:39:24 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=2070</guid>
		<description><![CDATA[Here&#8217;s what&#8217;s new in 2.9.1: dropped support for PHP4; minimum required version is now PHP 5.0.2; fixed some compatibility issues affecting the &#8220;dependencies&#8221; rule when used with radio buttons and jQuery 1.9.0+; added support for date picker&#8217;s &#8220;always_show_clear&#8221; and &#8220;always_visible&#8221; properties; thanks to Sebastian Popa; fixed a bug where the script would sometimes fail to [...]]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s what&#8217;s new in 2.9.1:</p>
<ul class="default">
<li>dropped support for PHP4; minimum required version is now PHP 5.0.2;</li>
<li>fixed some compatibility issues affecting the &#8220;dependencies&#8221; rule when used with radio buttons and jQuery 1.9.0+;</li>
<li>added support for date picker&#8217;s &#8220;always_show_clear&#8221; and &#8220;always_visible&#8221; properties; thanks to <strong>Sebastian Popa</strong>;</li>
<li>fixed a bug where the script would sometimes fail to determine the correct path for file uploads; thanks to <strong>John Prentice</strong>;</li>
<li>fixed a bug where dates having random extra white-space in them would pass validation; thanks to <strong>Arne Tarara</strong>;</li>
<li>fixed a bug where setting the &#8220;require_protocol&#8221; argument of the &#8220;url&#8221; rule to TRUE, had no effect client-side; thanks <strong>Stefan</strong>;</li>
<li>fixed an error in the documentation; thanks <strong>Stefan</strong>;</li>
<li>fixed a small bug where when specifying custom attributes for an element as a string rather than an array, would trigger a PHP warning; thanks <strong>Søren</strong>;</li>
<li>fixed a small issue with the file uploads where the content of the iFrame used for the client-side validation was destroyed before being fully loaded, resulting in a &#8220;Canceled&#8221; status rather than a 200 (OK); this was not affecting functionality;</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-form/">Zebra_Form</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-1-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Form, version 2.9.0a now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-0a-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-0a-now-available/#comments</comments>
		<pubDate>Wed, 13 Feb 2013 14:13:47 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=2046</guid>
		<description><![CDATA[Here&#8217;s what&#8217;s new in 2.9.0a: fixed a bug where disabling weekdays resulted in date to never pass validation; Visit Zebra_Form&#8216;s page]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s what&#8217;s new in 2.9.0a:</p>
<ul class="default">
<li>fixed a bug where disabling weekdays resulted in date to never pass validation;</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-form/">Zebra_Form</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-0a-now-available/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Zebra_Form, version 2.9.0 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-0-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-0-now-available/#comments</comments>
		<pubDate>Sun, 10 Feb 2013 17:30:03 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=2042</guid>
		<description><![CDATA[The waiting is over &#8211; big thanks to everybody who provided feedback! Here&#8217;s what&#8217;s new in 2.9.0: fixed a few depencies related bugs; thanks to Arne Tarara fixed an issue that broke the library&#8217;s functionality when using jQuery 1.9.0 (which removed $.browser); fixed a bug where date format not including days or month (like only [...]]]></description>
				<content:encoded><![CDATA[<p>The waiting is over &#8211; big thanks to everybody who provided feedback!</p>
<p>Here&#8217;s what&#8217;s new in 2.9.0:</p>
<ul class="default">
<li>fixed a few depencies related bugs; thanks to <strong>Arne Tarara</strong></li>
<li>fixed an issue that broke the library&#8217;s functionality when using jQuery 1.9.0 (which removed $.browser);</li>
<li>fixed a bug where date format not including days or month (like only &#8216;Y&#8217; or &#8216;M, Y&#8217;, etc) would never pass validation; thanks to <strong>Hicham</strong>;</li>
<li>fixed a bug where the &#8220;Clear&#8221; button on the date picker was not using the string from the language file; thanks <strong>Nicola Tuveri</strong>;</li>
<li>fixed an issue where the library would break with plugins that hide the original elements and put in their places divs having the exact same classes as the original element; thanks to <strong>Daniele Picca</strong></li>
<li>fixed a bug where the &#8220;length&#8221; rule was not taken into consideration when using &#8220;auto_fill&#8221; for elements having also the &#8220;digits&#8221; and/or &#8220;number&#8221; rule set;</li>
<li>fixed a bug where if the &#8220;length&#8221; rule had a fourth argument (the show_counter argumet), the error message would be empty;</li>
<li>fixed a bug where a text longer than set by the &#8220;length&#8221; rule could be set as default for an element;</li>
<li>fixed a bug in &#8220;process.php&#8221; which broke CAPTCHA images in PHP 5.4.0+ because the second argument to the &#8220;imagejpeg&#8221; function was an empty string instead of &#8220;null&#8221;; thanks to <strong>Thomas</strong>;</li>
<li>fixed an issue where elements having an empty string as name could be created;</li>
<li>fixed an issue where the library would sometimes generate &#8220;strict warnings&#8221; for PHP 5.3.0+;</li>
<li>custom attributes (like class names or other attributes) can now be specified when creating bulk <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Controls/Zebra_Form_Radio.html">radio buttons</a> and <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Controls/Zebra_Form_Checkbox.html">checkboxes</a> by adding a 4th argument; see the last example in each of the two links;</li>
<li>added Italian language file; thanks <strong>Nicola Tuveri</strong>;</li>
<li>updated German and French language files; thanks <strong>Andreas Schwarz</strong>;</li>
<li>some updates and corrections in the documentation; thanks to <strong>Hicham</strong>, <strong>Søren</strong> and <strong>Oliver Jones</strong>;</li>
<li>updated <a href="http://stefangabos.ro/jquery/zebra-datepicker/">Zebra_DatePicker</a> to version 1.6.7;</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-form/">Zebra_Form</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-9-0-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Form, version 2.8.9e now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9e-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9e-now-available/#comments</comments>
		<pubDate>Thu, 17 Jan 2013 07:45:00 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=2009</guid>
		<description><![CDATA[Since the release of 2.8.9 I&#8217;ve used the new &#8220;dependencies&#8221; rule quite a lot but I was only using it driven by radio buttons and checkboxes (whenever a radio button/checkbox was checked, new elements showed up) and therefore never realized that it was the *only* way it was actually working and that it wasn&#8217;t working [...]]]></description>
				<content:encoded><![CDATA[<p>Since the release of 2.8.9 I&#8217;ve used the new &#8220;dependencies&#8221; rule quite a lot but I was only using it driven by radio buttons and checkboxes (whenever a radio button/checkbox was checked, new elements showed up) and therefore never realized that it was the *only* way it was actually working and that it wasn&#8217;t working if elements were depending on other control types. Thanks to <strong>Hicham</strong> for reporting!</p>
<p>Here&#8217;s what&#8217;s new:</p>
<ul class="default">
<li>fixed a bug where dependencies were working only if the proxy element was a radio button or a checkbox; set thanks to <strong>Hicham</strong>;</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-form/">Zebra_Form</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9e-now-available/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zebra_Form, version 2.8.9d now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9d-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9d-now-available/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 21:39:22 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=2003</guid>
		<description><![CDATA[Fixing more of the things that broke with the release of 2.8.9&#8230; Here&#8217;s what&#8217;s new: fixed a bug where setting some of the date control&#8217;s properties would break the date picker; thanks to Bastian Flinspach; fixed a bug where seting the &#8220;length&#8221; rule to having &#8220;0&#8243; (no limit) as the upper limit, would set the [...]]]></description>
				<content:encoded><![CDATA[<p>Fixing more of the things that broke with the release of 2.8.9&#8230;</p>
<p>Here&#8217;s what&#8217;s new:</p>
<ul class="default">
<li>fixed a bug where setting some of the date control&#8217;s properties would break the date picker; thanks to <strong>Bastian Flinspach</strong>;</li>
<li>fixed a bug where seting the &#8220;length&#8221; rule to having &#8220;0&#8243; (no limit) as the upper limit, would set the element&#8217;s &#8220;maxlength&#8221; attribute to &#8220;0&#8243;; thanks to <strong>Bastian Flinspach</strong>;</li>
<li>fixed a bug where keypress events on an file upload control were ignored;</li>
<li>fixed a bug where the &#8220;clientside_validation&#8221; method was always using the default values if the form contained at least one file upload control; thanks to <strong>Antonio Marmolejo</strong>;</li>
<li>fixed a bug where the character count on textareas was not done correctly if the text contained characters that would get transformed into HTML entitite; thanks to <strong>Antonio Marmolejo</strong></li>
<li>fixed some inconsistencies in the documentation;</li>
<li>updated <a href="http://stefangabos.ro/jquery/zebra-datepicker/">Zebra_DatePicker</a> to version 1.6.6;</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-form/">Zebra_Form</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9d-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Form, version 2.8.9c now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9c-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9c-now-available/#comments</comments>
		<pubDate>Sat, 12 Jan 2013 20:36:22 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1996</guid>
		<description><![CDATA[As soon as 2.8.9 was released I have discovered a few more glitches which I patched with 2.8.9b and now 2.8.9c. Here&#8217;s what&#8217;s new: fixed a bug where dependencies on an element with no other rules would be ignored; fixed a bug where custom arguments for the &#8220;custom&#8221; rule were not passed correctly; fixed a [...]]]></description>
				<content:encoded><![CDATA[<p>As soon as 2.8.9 was released I have discovered a few more glitches which I patched with 2.8.9b and now 2.8.9c.</p>
<p>Here&#8217;s what&#8217;s new:</p>
<ul class="default">
<li>fixed a bug where dependencies on an element with no other rules would be ignored;</li>
<li>fixed a bug where custom arguments for the &#8220;custom&#8221; rule were not passed correctly;</li>
<li>fixed a bug where since the last release the files upload control was not working anymore;</li>
<li>fixed a bug where the library would trigger a JavaScript error if none of the form&#8217;s element would have any validation rule;</li>
<li>some updates in the documentation</li>
<li>updated <a href="http://stefangabos.ro/jquery/zebra-datepicker/">Zebra_DatePicker</a> to version 1.6.5;</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-form/">Zebra_Form</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9c-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Form, version 2.8.9 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9-now-available/#comments</comments>
		<pubDate>Tue, 08 Jan 2013 21:35:21 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1985</guid>
		<description><![CDATA[After having worked on this for the last couple of weeks, I am happy to announce version 2.8.9 of Zebra_Form which brings us one step closer to version 3.0 in terms of features that I want it to have. Aside from the usual bug fixes and some smaller new features, there are some two features [...]]]></description>
				<content:encoded><![CDATA[<p>After having worked on this for the last couple of weeks, I am happy to announce version 2.8.9 of Zebra_Form which brings us one step closer to version 3.0 in terms of features that I want it to have.</p>
<p>Aside from the usual bug fixes and some smaller new features, there are some two features that bring a lot of value to the library: the first one is the newly added <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Zebra_Form/Zebra_Form.html#methodauto_fill">auto_fill</a> method which can be used both for adding default values to for elements in one single step rather than on a per-element basis as well as for automatically filling form elements with random values (but obeying the rules) &#8211; this should prove as a real time saver as we all know how much time is lost when we have to fill forms with garbage in order to debug our forms. See the <a href="http://stefangabos.ro/wp-content/demos/Zebra_Form/?example=reservation&#038;template=autofill-vertical">example</a>.</p>
<p>The most important new feature is the newly added &#8220;dependencies&#8221; rule. Use it to create conditional validation where an element will be validated only if other element/elements have certain values. The nice thing about it is that whenever one of the elements that on which other elements depend on changes value, a callback function will be called making it easy to show/hide elements or group of elements whenever necessary. See the <a href="http://stefangabos.ro/wp-content/demos/Zebra_Form/?example=dependencies&#038;template=custom">example</a> and peek into the <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Generic/Zebra_Form_Control.html#methodset_rule">documentation</a>;</p>
<p>Here&#8217;s the full list of changes for this version:</p>
<ul class="default">
<li>added a new rule called &#8220;dependencies&#8221;; using it you can now have conditional validation (elements that are validated only if one or more other controls have certain values); see the <a href="http://stefangabos.ro/wp-content/demos/Zebra_Form/?example=dependencies&#038;template=custom">example</a> and peek into the <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Generic/Zebra_Form_Control.html#methodset_rule">documentation</a>;</li>
<li>for browsers that obey the &#8220;accept&#8221; attribute for file upload controls (at the time of writing Chrome 16+ and IE 10), the file browser will now only show the files defined by the &#8220;filetype&#8221; rule or images only if the &#8220;image&#8221; rule is set;</li>
<li>added a new method: <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Zebra_Form/Zebra_Form.html#methodauto_fill">auto_fill</a> &#8211; call this method to instruct the library to automatically fill out all or only selected form&#8217;s fields with random content while obeying any rules that might be set for each control &#8211; huge time saver for when debugging forms; check out the <a href="http://stefangabos.ro/wp-content/demos/Zebra_Form/?example=reservation&#038;template=autofill-vertical">example</a>;</li>
<li>added a new method: <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Zebra_Form/Zebra_Form.html#methodcaptcha_storage">captcha_storage</a> by which the storage method for CAPTCHA values can be changed from &#8220;cookie&#8221; to &#8220;session&#8221;; useful for users who have very restrictive cookie policies;</li>
<li>uneditable prefixes can now be added to text and password inputs &#8211; like &#8220;http://&#8221; or an area code like &#8220;+(40)&#8221;, or images and html; check out the <a href="http://stefangabos.ro/wp-content/demos/Zebra_Form/?example=contact&#038;template=vertical">examples</a> and the <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Controls/Zebra_Form_Text.html#methodZebra_Form_Text">documentation</a>;</li>
<li>users can now regenerate CAPTCHAS if needed; see the <a href="http://stefangabos.ro/wp-content/demos/Zebra_Form/?example=registration&#038;template=vertical">examples</a>;</li>
<li>previously, server-side, dates where only checked for format but not also for direction and disabled dates so malicious users could manipulate the DOM and enter out-of-range values; now the validity of date values is also enforced server-side;</li>
<li>fixed a bug where the placeholder, if the element had margins, would not be correctly positioned; thanks to <strong>Faton Sopa</strong>;</li>
<li>fixed a bug where having elements with names representing array properties in JavaScript (length, constructor, prototype) would result in error messages not showing for that particular element in client-side validation;</li>
<li>fixed a bug which I thought it was fixed in 2.8.3 regarding the order in which rules are checked;</li>
<li>fixed a bug where when having &#8220;validate_on_the_fly&#8221; for client-side validation and moving away from a date control without selecting a date, would correctly show the error tip with the message, but the error would not automatically go away when selecting date, and the user would manually need to hide the error message;</li>
<li>fixed a bug in the CSS affecting notes placed after a date control on Internet Explorer 7;</li>
<li>fixed a bug where when using placeholders for textareas the &#8220;resize&#8221; icon (on browsers that automatically place it on textareas) would appear twice; thanks to <strong>Andrei Bodeanschi</strong></li>
<li>fixed a bug where having an error message on select control with the &#8220;other&#8221; option selected, the error message would not automatically disappear once the &#8220;other&#8221; field was filled out;</li>
<li>fixed a WebKit-specific issue where Chrome &#038; Safari seem to get it wrong for password fields when using various font families, and display really small dots instead of the discs that appear for every other browser &#8211; now WebKit browsers will behave as expected;</li>
<li>updated <a href="http://stefangabos.ro/jquery/zebra-datepicker/">Zebra_DatePicker</a> to version 1.6.4;</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-form/">Zebra_Form</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-9-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Form, version 2.8.8 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-8-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-8-now-available/#comments</comments>
		<pubDate>Thu, 08 Nov 2012 10:43:40 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1956</guid>
		<description><![CDATA[Here&#8217;s what&#8217;s new in version 2.8.8: fixed a bug where the library would think that an &#38; directly before a character is an HTML entity, and would incorrectly insert a semicolon after the &#8220;entity&#8221;; thanks to Arne Tarara fixed a bug where for PHP versions prior to 5.2.0 the library would trigger an error when [...]]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s what&#8217;s new in version 2.8.8:</p>
<ul class="default">
<li>fixed a bug where the library would think that an &amp; directly before a character is an HTML entity, and would incorrectly insert a semicolon after the &#8220;entity&#8221;; thanks to <strong>Arne Tarara</strong></li>
<li>fixed a bug where for PHP versions prior to 5.2.0 the library would trigger an error when trying to set the CSRF cookie; thanks to <strong>hector</strong>;</li>
<li>fixed a bug where custom arguments were never actually passed to custom rules; thanks to <strong>Andreas</strong>;</li>
<li>fixed a bug where in PHP versions before 5.3 using a hyphen (dash) as among the extra allowed characters in the &#8220;alphabet&#8221;, &#8220;alphanumeric&#8221;, &#8220;float&#8221;, &#8220;digits&#8221;, &#8220;number&#8221;, rule would crash the script; thanks to <strong>Andreas</strong></li>
<li>fixed an issue where a hack was needed in order for displaying SPAM or CSRF errors in custom templates; now a new <em>$zf_error</em> variable will be available in custom templates which will display these errors (in the same way as it errors are displayed after server-side validation); see an example in the <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Generic/Zebra_Form_Control.html#methodset_rule">documentation</a> (the second code block); thanks to <strong>Thomas</strong>;</li>
<li>fixed an issue where assigning custom classes to elements upon adding them to the form (through the add() method) would break those elements as the custom class would replace the classes added by the library; the solution was to add custom classes through the set_attributes() method; now adding custom classes directly via the add() method will work as expected; thanks to <strong>Wim</strong>;</li>
<li>fixed a bug when reporting some internal errors;</li>
<li>added a new validation rule: &#8220;url&#8221; which validates URLs; see the <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Generic/Zebra_Form_Control.html#methodset_rule">documentation</a> for more information;</li>
<li>inverted the order of the first two arguments of the <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Zebra_Form/Zebra_Form.html#methodcsrf">csrf()</a> method &#8211; <strong>if you are using the method, make sure you update the arguments order after updating Zebra_Form!</strong></li>
<li>minor performance tweaks in the PHP code</li>
<li>updated Spanish language file; thanks to <strong>Delegado 3iti</strong></li>
<li>updated <a href="http://stefangabos.ro/jquery/zebra-datepicker/">Zebra_DatePicker</a> to version 1.6.1</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-form/">Zebra_Form</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-8-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Form, version 2.8.7 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-7-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-7-now-available/#comments</comments>
		<pubDate>Sat, 15 Sep 2012 15:37:59 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Form]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1910</guid>
		<description><![CDATA[Here&#8217;s what&#8217;s new in version 2.8.7: fixed a bug with the file upload control where client-side validation would correctly report an invalid upload path *only* if the &#8220;required&#8221; rule was also set; now, when uploading a file, the library will check if the upload path exists even if the &#8220;required&#8221; rule is not set; thanks [...]]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s what&#8217;s new in version 2.8.7:</p>
<ul class="default">
<li>fixed a bug with the file upload control where client-side validation would correctly report an invalid upload path *only* if the &#8220;required&#8221; rule was also set; now, when uploading a file, the library will check if the upload path exists even if the &#8220;required&#8221; rule is not set; thanks to <strong>Jan</strong>;</li>
<li>fixed a bug where if the form was validated and submitted manually through JavaScript, the library would validate the form twice; also, updated the recommended way of doing manual form validation and submission &#8211; see <a href="http://stefangabos.ro/wp-content/docs/Zebra_Form/Zebra_Form/Zebra_Form.html#methodclient_side_validation">documentaion</a>;</li>
<li>fixed an issue where no custom HTML attributes (like &#8220;style&#8221;, for example) could be set for the select boxes generated by the Time control; thanks to <strong>Faton Sopa</strong>;</li>
<li>custom date pickers can now also be used; to disable the default date picker you&#8217;ll have to call the newly added disable_zebra_datepicker() method available for &#8220;date&#8221; elements; date format, direction and disabled dates will still apply and will be taken into account when validating the date, but the other properties will be ignored as are specific to Zebra_DatePicker; thanks to <strong>Faton Sopa</strong> for suggesting;</li>
<li>better error handling and documentation for when the library is trying to use cookies for storing the CSRF token, but output was already sent to the browser prior to instantiating the library, and output buffering is turned off in php.ini;</li>
<li>in previous versions, when using &#8220;horizontal&#8221; templates and, thus, tables, I was using the deprecated &#8220;valign&#8221; attribute on table cells and so the generated output was not valid HTML5; now it is handled from CSS by using &#8220;vertical-align&#8221;; thanks to <strong>Andreas</strong>;</li>
<li>additions and corrections to the documentation; thanks to <strong>Jan</strong> for spotting some errors!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_form-version-2-8-7-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
