<?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>Berthou.com &#187; ajax</title>
	<atom:link href="http://www.berthou.com/us/category/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.berthou.com/us</link>
	<description>A french developper blog</description>
	<lastBuildDate>Mon, 09 Aug 2010 08:55:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Dynamic forms builder with jQuery</title>
		<link>http://www.berthou.com/us/2009/09/05/dynamic-forms-builder-with-jquery/</link>
		<comments>http://www.berthou.com/us/2009/09/05/dynamic-forms-builder-with-jquery/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 13:23:26 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[dhtml]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/?p=58</guid>
		<description><![CDATA[The project Recently I have searched a foms editor &#8211; wizard&#8221; in web mode. I looked for it on internet, believing many projects should greatly deal with this problem (I don&#8217;t like to develop something if it already exist). After many tests I have come to the conclusion that it does not exist (or that [...]]]></description>
				<content:encoded><![CDATA[<h2 class="titre2">The project</h2>
<p>Recently I have searched a foms editor &#8211; wizard&#8221; in web mode. I looked for it on internet, believing many projects should greatly deal with this problem (I don&#8217;t like to develop something if it already exist). After many tests I have come to the conclusion that it does not exist (or that it is not well &#8220;referenced&#8221;&#8230;).<br />
Also I have taken advantage of my holidays to do this &#8220;little&#8221; project.<br />
<img src="/_img/rbl_forms_0.png" class="center"/></p>
<p><span id="more-58"></span><br />
After my research I signal you the following sites which seem quite good but do not fit my objectives (tey were not in opensource).</p>
<p class="alertLink">
<a href="http://www.jotform.com/" target="_blank">JotForm</a> : I like the presentation<br/><br />
<a href="http://wufoo.com/examples/" target="_blank">Wufoo</a> : Seems interessant but an inscription is compulsory.
</p>
<h2 class="titre2">The goal</h2>
<p><b>It is really simple !</b></p>
<p class="alertInfo">
 <a href="http://www.berthou.com/rbl_forms/index.htm" target="_blank">Demonstration rbl_forms</a>
</p>
<ul>
<li>To permit to construct a html form in 100% web mode (without codeing)</li>
<li>Not to force to use a library as (jQuery, prototype, dojo,..) in the generated code</li>
<li>To offer the basics controls (compulsory area, size&#8230;)</li>
<li>To be easily adaptable (it is at you to tell me if this goal has been succesfully reached)</li>
<li>Not to use table</li>
<li>To save in XML size</li>
<li>To generate a page in pure html</li>
</ul>
<h2 class="titre2">Tools used</h2>
<p class="alertLink">
<a href="http://jquery.com/" target="_blank">jQuery</a> : I love it more and more, it&#8217;s lib !<br/><br />
<a href="http://jqueryui.com/" target="_blank">jQuery UI</a> : the logical extension to work in web mode.<br/><br />
<a href="http://www.berthou.com/fr/2007/11/23/formulaire-dhtml/">t_fotm</a> : For the validation part of the form.
</p>
<h2 class="titre2">The functionalities</h2>
<p>To make easier the visual creation of the form the use of the &#8220;drag &#038; drop&#8221; is very important to register areas of the form or to move them.<br/><br />
There is three levels of personnalisation ( Form, Column, Element ). Theses differents pannels permit to specify with precision the size and the presentation of the form.</p>
<h3 class="titre3">The form pannel</h2>
<p><img src="/_img/rbl_forms_d0.png" class="right"/><br />
This dialog box permit to specify the following informations (they are activated by cliking on the item &#8220;Edition Form&#8221; on the left pannel) :</p>
<ul>
<li>The name : form <b>name</b> attribut</li>
<li>The file : to save</li>
<li>The title : Display in the form (fieldset legend)</li>
<li>The action : form <b>action</b> attribut (url or other)</li>
<li>The method : POST or GET </li>
<li>The size : Appear in the style properti (width, height)</li>
<li>The layout : unused actually</li>
<li>The CSS : This gives the principal style of the &#8220;form&#8221;</li>
</ul>
<p class="alertWarning">In the case of a cration of a new form you must not forgive of modify the &#8220;file&#8221; area to specify the names of the saving files.</p>
<h3 class="titre3">Les colonnes</h2>
<p><img src="/_img/rbl_forms_d1.png" class="right"/><br />
I accept the definition of many column for the construction of theses elements because I don&#8217;t want to have too vertically form. I limit it to three column at this day.<br />
You can edit the proprieties of the column by selecting (by a simple click) the line &#8220;column 1&#8243; of grenn/yellow color then by clicking on the item &#8220;Edition&#8221; of the left pannel.<br/><br />
Description of the pannel : </p>
<ul>
<li>Name of the column : unused</li>
<li>Size : (width, height) can be define by resizing the column or by directly keyboarding the values.</li>
<li>The layout : it is a CSS clss which permit to specify the type of presentation in the column.</li>
<li>The CSS : other CSS class (at this day undefined but implented)</li>
</ul>
<p class="alertWarning">The item &#8220;supression&#8221; in the left menu permit to cancel/delete a column with the whole areas.
</p>
<h3 class="titre3">The areas</h2>
<p><img src="/_img/rbl_forms_d2.png" class="right"/><br />
You can add areas in a column of the form by a simple &#8220;drag &#038; drop&#8221; from the left menu. Also appear  a dialog box which invit you to specify some informations (theses data change with the type of area).</p>
<ul>
<li>ID : for information (readonly</li>
<li>Nom : attribut name </li>
<li>Label : Input information (title / label)</li>
<li>AccessKey : keyboard shortcut</li>
<li>Format : standard input mask  (email, date, money, &#8230;) for input control</li>
<li>Freemask : you can use this to define other format / mask
<ul>
<li>9 : A digit char 0-9</li>
<li># : An optionnal digit char</li>
<li>A : An alpha char in uppercase</li>
<li>a :  An optionnal alpha char in uppercase</li>
<li>M : An alpha char (upper or lower)</li>
<li>m : An optionnal alpha char</li>
<li>N : An alphanumiric char</li>
<li>n : An optionnal alphanumeric char</li>
<li>V : A coma or point </li>
<li>v : An optionnal coma or point </li>
<li>S : A sign + or &#8211; </li>
<li>s : A optionnal sign</li>
<li>T : A char</li>
<li>t : A optionnal char</li>
</ul>
</li>
<li>Regex. : a regexp for more complicated control</li>
<li>Size : </li>
<li>Table associted : personal use in other project</li>
<li> max length :</li>
<li>autoskip : sklip to the next zone if all char is entered  </li>
<li>CSS : style html (class)</li>
<li>Required  </li>
<li>ReadOnly</li>
<li>Aide : Help message </li>
</ul>
<h2 class="titre2">Sample form</h2>
<p><img src="/_img/rbl_forms_1.png" class="center"/></p>
<p class="alertLink">
<a href="http://www.berthou.com/rbl_forms/html/produit.html" target="_blank">Sample generated form</a>
</p>
<h2 class="titre2">In the next versions</h2>
<p>I would like add many other functionnalities in the next version of this tool.<br />
Je souhaite ajouter plusieurs fonctionnalités dans les prochaines versions de cet outil. </p>
<ul>
<li>CSS : Define new CSS styles (form, colonnes, input)</li>
<li>Translation : Add other language</li>
<li>Add more complex controles : Captcha, Tabs, &#8230;</li>
<li>Can select other datepicker and forms controles</li>
<li>Add other load/save script in JSP, ASP, Perl&#8230;</li>
<li>And more&#8230;.</li>
</ul>
<p class="alertInfo">
Do npt hesitate to contact me if you wish to help me in this developement or if you have add a functionality or correct a bug.
</p>
<h2 class="titre2">Download</h2>
<p class="alertDownload">
<a href="/download.php?type=dhtml&#038;file=rbl_forms.zip" target="_blank">rbl_forms last version</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2009/09/05/dynamic-forms-builder-with-jquery/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
	</channel>
</rss>
