<?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>Website Design Ireland, Website Development &#187; php forms</title>
	<atom:link href="http://www.eire-webdesign.ie/blog/tag/php-forms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eire-webdesign.ie/blog</link>
	<description>Web Design and Development</description>
	<lastBuildDate>Sat, 02 Jan 2010 14:53:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP Form creation and basic validation</title>
		<link>http://www.eire-webdesign.ie/blog/2010/01/02/php-form-creation-and-basic-validation/</link>
		<comments>http://www.eire-webdesign.ie/blog/2010/01/02/php-form-creation-and-basic-validation/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 14:41:51 +0000</pubDate>
		<dc:creator>Louie @ Eire Web Design</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP create form fields function]]></category>
		<category><![CDATA[php forms]]></category>

		<guid isPermaLink="false">http://www.eire-webdesign.ie/blog/?p=119</guid>
		<description><![CDATA[As a developer and web designer,  the most frustrating part I have found  is when working with forms. Long time ago (about 2 years now) I start putting togheter few PHP function trying to make my life a lot easier, but never got the time to finish it off. Finally I have put everything on the side [...]]]></description>
			<content:encoded><![CDATA[<p>As a developer and web designer,  the most frustrating part I have found  is when working with forms.<br />
Long time ago (about 2 years now) I start putting togheter few PHP function trying to make my life a lot easier, but never got the time to finish it off.</p>
<p>Finally I have put everything on the side and got cracking on this due to a new project that involves the making a few very long forms.</p>
<p>The thought of writing all the html code (tables or DIVs) and validate them made me go back to this little project and decided to give it more thoughts.</p>
<p>This is the first release of the PHP code for this project so, if you would like to give it a bash and make use of it please do so&#8230;</p>
<p>A sample can be found here: <a title="sample php form" href="http://www.eire-webdesign.ie/create_validate_form.php"><strong>SAMPLE PHP FORM</strong></a></p>
<p>Some of the features:</p>
<ul>
<li>Choice of using TABLE or DIVs for layout</li>
<li>You can create more than one form on the same page making sure the right one is validated on submission</li>
<li>Basic form validation</li>
<li>Option to make the field required or not</li>
<li>Show ERROR message  beside the required field &#8211; standard</li>
<li>Option to set the ERROR message text &#8211; set to REQUIRED in the sample form</li>
<li>Show ERROR message at the top of the form as well - optional</li>
<li>Cuts form creation time in more than half</li>
<li>Automatically sets the values of the field after posting the form</li>
<li>Option to add javascript code to the field (e.g. for use with ajax, etc)</li>
<li>and much more&#8230;</li>
</ul>
<p>If you find any errors and anything that could help improve the functionality of this project, please leave a comment and I&#8217;ll make sure it gets done ASAP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eire-webdesign.ie/blog/2010/01/02/php-form-creation-and-basic-validation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

