<?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>Simfatic Solutions Blog &#187; Simfatic Forms</title>
	<atom:link href="http://www.simfatic.com/blog/category/simfatic-forms/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simfatic.com/blog</link>
	<description>Updates on Simfatic Solutions</description>
	<lastBuildDate>Sat, 17 Dec 2011 07:20:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Simfatic Forms 4.0 Beta Released!</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/387/simfatic-forms-4-0-beta-released/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/387/simfatic-forms-4-0-beta-released/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 07:19:55 +0000</pubDate>
		<dc:creator>prasanth</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Simfatic Forms 4.0]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=387</guid>
		<description><![CDATA[The new release comes with a number of exciting new features. Here is a brief summary: Multi-page forms ! With conditional pages and save and continue support. Paypal support &#8216;Conditional&#8217; page sections: hide/show a section of the form based on conditions Conditional recipients (for &#8216;form to email&#8217;) Loading drop-down lists from database Cascaded lists (Changing [...]]]></description>
			<content:encoded><![CDATA[<p>The new release comes with a number of exciting new features.<br />
<span id="more-387"></span><br />
Here is a brief summary:</p>
<ul>
<li><strong>Multi-page forms !</strong></li>
<p>With <em>conditional pages </em> and <em>save and continue</em> support.</p>
<li>Paypal support</li>
<li>&#8216;Conditional&#8217; page sections: hide/show a section of the form<br />
based on conditions</li>
<li>Conditional recipients (for &#8216;form to email&#8217;)</li>
<li>Loading drop-down lists from database</li>
<li>Cascaded lists (Changing one dropdown list loads other)</li>
<li>Better/easier calculation fields.</li>
<li>&#8216;Value maps&#8217; for calculation fields</li>
<li>Online preview of the forms</li>
<li>&#8216;Test and preview the form&#8217; before upload</li>
</ul>
<p><a href='/forms/download-beta.php'>More info</a></p>
<p><strong><a href="/downloads/beta/simfatic-forms-401beta1.exe">Click here to download Simfatic Forms 4.0 Beta</a></strong></p>
<p>
<a href='http://www.simfatic.com/report-bug.phtml'>Please submit your feedback here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/387/simfatic-forms-4-0-beta-released/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Unique email validation for forms</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/375/unique-email-validation/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/375/unique-email-validation/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 03:19:58 +0000</pubDate>
		<dc:creator>prasanth</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[extension modules]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=375</guid>
		<description><![CDATA[Some forms require that the email submitted in the form to be unique. If the user has already submitted the form, the form should not be submitted again (with the same email, at least) Here is an extension module that checks the database to see that the email was not submitted before. Please note that [...]]]></description>
			<content:encoded><![CDATA[<p>Some forms require that the email submitted in the form to be unique. If the user has already submitted the form, the form should not be submitted again (with the same email, at least)</p>
<p>Here is an extension module that checks the database to see that the email was not submitted before.<br />
<span id="more-375"></span><br />
Please note that &#8216;Save to database table&#8217; should be enabled in the &#8216;form processing options page. ( The email submission is checked against the database table entries )</p>
<h2>Steps:</h2>
<ul>
<li><a href='/downloads/blog/UniqueEmail.zip'>Download the extension module</a></li>
<li>Open the file UniqueEmail.php in a text editor. <br />
scroll down to the line /*database details*/ and update the<br />
database details. Save the file.</li>
<li>In Simfatic Forms, &#8216;Enable extension modules&#8217; in the &#8216;form processing options&#8217; page and press &#8216;Next&#8217;</li>
<li>In the extension modules page, press &#8216;add module&#8217; and select UniqueEmail.php</li>
<li>re-upload the form</li>
</ul>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2011/09/sshot_emailvalidation.png" alt="" width="320" height="216" class="alignnone size-full wp-image-379" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/375/unique-email-validation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple password protection for forms</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/356/password-protection-for-forms/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/356/password-protection-for-forms/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 05:15:37 +0000</pubDate>
		<dc:creator>prasanth</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[extension modules]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=356</guid>
		<description><![CDATA[Sometimes, you would want to restrict your form to a limited set of users. Only those who have a password can submit the form. Here is an extension module to password protect your form. Usage: Download the extension module. Open the file pwdprotect.php in any text editor (like Notepad) Edit the user name/passwords. The format [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, you would want to restrict your form to a limited set of users. Only those who have a password can submit the form. </p>
<p>Here is an extension module to password protect your form.<br />
<span id="more-356"></span><br />
<strong>Usage:</strong><br />
<a href="http://www.simfatic.com/downloads/blog/pwdprotect.zip">Download the extension module</a>.<br />
Open the file <em>pwdprotect.php</em> in any text editor (like Notepad)<br />
Edit the user name/passwords. The format is like this: &#8216;username&#8217;=&gt;&#8217;password&#8217;</p>
<pre class="brush: php;">
function PasswordProtect()
{
    //username =&gt; password
    $this-&gt;logins = array('pmj'=&gt;'p',
                'prasanth'=&gt;'sim');
}
</pre>
<p>In Simfatic Forms, Enable &#8216;Extension Modules&#8217; (Form processing options page)<br />
In the &#8216;Extension modules&#8217; page, press the &#8216;Add module&#8217; button and select your updated <em>pwdprotect.php</em> file<br />
Re-upload the form</p>
<p>Now, when you open the form page, your browser will show a box asking for username and password</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2011/07/req-password.png" alt="request password dialog box" width="491" height="151" class="alignnone size-full wp-image-366" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/356/password-protection-for-forms/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Correcting error:  date() It is not safe to rely on &#8230;</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/341/date-it-is-not-safe-to-rely-on/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/341/date-it-is-not-safe-to-rely-on/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 02:55:10 +0000</pubDate>
		<dc:creator>prasanth</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=341</guid>
		<description><![CDATA[On some web servers, it throws this error when you upload Simfatic Forms script (or any other PHP script that uses PHP&#8217;s date() function) Error (2): date(): It is not safe to rely on the system's timezone settings.. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any [...]]]></description>
			<content:encoded><![CDATA[<p>On some web servers, it throws this error when you upload Simfatic Forms script (or any other PHP script that uses PHP&#8217;s date() function)</p>
<p><code>Error (2): date(): It is not safe to rely on the system's timezone settings..<br />
You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.</code><br />
<span id="more-341"></span><br />
In the PHP configuration file (php.ini) we are supposed to set the default time zone setting like this. Usually, the hosting service provider or web server administrator will set this while configuring the web server. If they missed it, you will get this error.</p>
<p>More information:<br />
<a href="http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone">date.timezone</a><br />
<a href="http://answers.google.com/answers/threadview/id/739376.html">http://answers.google.com/answers/threadview/id/739376.html</a><br />
<a href="http://sourceforge.net/projects/phpmyadmin/forums/forum/72909/topic/2683543">http://sourceforge.net/projects/phpmyadmin/forums/forum/72909/topic/2683543</a></p>
<p>One way to get this error corrected is to request your web server admin to fix the time zone settings.</p>
<p>If the admins don&#8217;t help, try this extension module below. It sets the date.timezone settings before the rest of the script is run.</p>
<ul>
<li><a href="http://www.simfatic.com/downloads/blog/CorrectTimeZone.zip">Download the &#8216;CorrectTimeZone&#8217; extension module</a></li>
<li>Open the file in a text editor and change the line:<br />
<code>ini_set('date.timezone','Europe/London');</code> <br />to your time zone. See the <a href="http://www.php.net/manual/en/timezones.php">list of all valid time zones here</a></li>
<li>In Simfatic Forms-&gt;&#8217;form processing options&#8217; page, enable extension modules</li>
<li>In the extension modules page, do &#8216;Add Module&#8217; and select the file CorrectTimeZone.php</li>
<li>upload the form</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/341/date-it-is-not-safe-to-rely-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8216;Conditional&#8217; Recipients</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/305/conditional-recipients/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/305/conditional-recipients/#comments</comments>
		<pubDate>Thu, 19 May 2011 14:48:01 +0000</pubDate>
		<dc:creator>prasanth</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=305</guid>
		<description><![CDATA[Suppose you want to send the form submission email conditionally, based on a form input. For example, there is a &#8216;department&#8217; drop down in the form. Depending on the selection in the drop down, the email should be sent to the corresponding address. (sales@mycompany.com, billing@mycompany.com etc) The current version of Simfatic Forms (3.2) does not [...]]]></description>
			<content:encoded><![CDATA[<p>Suppose you want to send the form submission email conditionally, based on a form input.<br />
For example, there is a &#8216;department&#8217; drop down in the form. Depending on the selection in the drop down, the email should be sent to the corresponding address. (sales@mycompany.com, billing@mycompany.com etc)</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2011/05/departments.png" alt="sample drop-down list" width="249" height="181" class="alignnone size-full wp-image-308" /><br />
<span id="more-305"></span><br />
The current version of Simfatic Forms (3.2) does not have the feature to set a condition for sending the email. </p>
<p>However, we have extension modules for rescue. Extension modules can be used to extend or change the behavior of the server side script. (See: extension modules in Simfatic Forms help.)</p>
<p>First, we need a place-holder email address in the &#8216;recipients&#8217; list</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2011/05/recipient-form-to-email.png" alt="place-holder email address in the recipient list" width="556" height="237" class="alignnone size-full wp-image-309" /></p>
<p>In the setting above, dept@user5.com is the place-holder email.</p>
<h2>The extension module</h2>
<p>The extension module is written in PHP. <a href="/downloads/blog/conditional-email.zip">Download the sample extension module here</a>.<br />
You can edit the extension module in any text editor.</p>
<p>Here is how it works:<br />
The extension module overrides call-back function BeforeSendingFormSubmissionEMail(). When the script is sending the form submission email, it will call BeforeSendingFormSubmissionEMail() , for each of the recipients. Here, we can change the recipient address, just before the email is sent.<br />
We check the selected value of the &#8216;department&#8217; drop down and update the recipient to the corresponding email:<br />
The code is not that complicated. </p>
<pre class="brush: php;">
function BeforeSendingFormSubmissionEMail(
        &amp;$receipient,&amp;$subject,&amp;$body)
{
    if(false !== strpos($receipient,'Admin'))
    {
        //Admin gets all the emails!
        return true;
    }
    elseif(false !== strpos($receipient,'dept@user5.com'))
    {
        $dept = $this-&gt;formvars['Department'];

        switch($dept)
        {
        case 'Sales':
            $receipient = 'Sales&lt;sales@user5.com&gt;';
            break;
        case 'Service':
            $receipient = 'Service&lt;service@user5.com&gt;';
            break;
        case 'Technical':
            $receipient = 'Technical&lt;technical@user5.com&gt;';
            break;
        case 'Billing':
            $receipient = 'Billing&lt;billing@user5.com&gt;';
            break;
        }
    }
    return true;
}
</pre>
<p>You can edit the extension module and customize it for your needs.</p>
<h2>Loading the extension module</h2>
<p>First, enable extension modules in the &#8216;form processing options&#8217; page.<br />
<img src="http://www.simfatic.com/blog/wp-content/uploads/2011/05/enable-extension-module.png" alt="Enable extension modules" width="473" height="274" class="alignnone size-full wp-image-322" /></p>
<p>Then, in the extension modules page, press the &#8216;Add module&#8217; button and select the extension module (edited and made ready &#8211; above)</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2011/05/add-extension-module.png" alt="Add extension module" width="543" height="274" class="alignnone size-full wp-image-323" /></p>
<p>Proceed to &#8216;take the code&#8217; page and upload the form.</p>
<h2>Download</h2>
<p><a href="/downloads/blog/conditional-email.zip">conditional-email.zip</a><br />
The .zip file contains the extension module and a Simfatic Forms template file of the form used to create and test this extension module.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/305/conditional-recipients/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simfatic Forms 3.2 Released!</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/299/simfatic-forms-3-2-released/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/299/simfatic-forms-3-2-released/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 05:22:50 +0000</pubDate>
		<dc:creator>prasanth</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[Simfatic Forms 3.2]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=299</guid>
		<description><![CDATA[Simfatic Forms 3.2 is moving out of beta. Although the beta was for a relatively shorter period, we received tons of excellent feedback. Thank you very much for all those participated in the beta. Download Simfatic Forms 3.2 Here is the list of changes in Simfatic Forms 3.2 Custom Client side code can now be [...]]]></description>
			<content:encoded><![CDATA[<p>Simfatic Forms 3.2 is moving out of beta. </p>
<p>Although the beta was for a relatively shorter period, we received tons of excellent feedback. Thank you very much for all those participated in the beta.</p>
<p><a href="http://www.simfatic.com/forms/new-updates.php">Download Simfatic Forms 3.2</a><br />
<span id="more-299"></span><br />
Here is the list of changes in Simfatic Forms 3.2</p>
<ol>
<li>Custom Client side code can now be added<br />
        (header, footer, custom css )</li>
<li> &#8216;Load value from URL&#8217; setting in Options dialog box </li>
<li> More extension module call backs: auto-response, form mail and file uploads </li>
<li> Added hyperlink object </li>
<li> Fixed date validation error for certain date formats</li>
<li>Displays a placeholder if the image file is missing</li>
<li>Removed (PHP 5) deprecated code constructs from PHP code</li>
<li> The tab order is followed for ordering the elements in the<br />
        rest of the pages (validation, form to email etc)</li>
<li> More bug fixes</li>
</ol>
<p>All those who have a license for Simfatic Forms 3.0 or 3.1 can upgrade to Simfatic Forms 3.2 for free. Your existing license key will work with Simfatic Forms 3.2.</p>
<p><a href="http://www.simfatic.com/forms/new-updates.php">Download Simfatic Forms 3.2</a> </p>
<p>Let me know your feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/299/simfatic-forms-3-2-released/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Simfatic Forms 3.2 Beta Released</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/288/simfatic-forms-3-2-beta-released/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/288/simfatic-forms-3-2-beta-released/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 10:45:55 +0000</pubDate>
		<dc:creator>simfatic_admin</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[Simfatic Forms 3.2]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=288</guid>
		<description><![CDATA[A new version of Simfatic Forms is available for download. This version comes with a few features that makes it easier to customize the form. You can add custom header footer or CSS code to the generated pages. Moreover, the extension modules can hook to more call backs now. Here is a brief roundup of [...]]]></description>
			<content:encoded><![CDATA[<p>A new version of Simfatic Forms is available for <a href="http://www.simfatic.com/forms/download-beta.php">download</a>. </p>
<p>This version comes with a few features that makes it easier to customize the form. You can add custom header footer or CSS code to the generated pages.<br />
Moreover, the extension modules can hook to more call backs now.<br />
<span id="more-288"></span><br />
Here is a brief roundup of the changes in 3.2 beta</p>
<ul>
<li>Custom Client side code can now be added<br />
(header, footer, custom CSS )</li>
<li>&#8216;Load value from URL&#8217; setting in Options dialog box </li>
<li>More extension module call backs: auto-response, form mail and file uploads </li>
<li>Added hyperlink object </li>
<li>Fixed date validation error for certain date formats</li>
<li>Displays a placeholder if the image file is missing</li>
<li>removed (PHP 5) deprecated code constructs from PHP code</li>
<li>The tab order is followed for ordering the elements in the<br />
rest of the pages (validation, form to email etc)</li>
<li>and more!</li>
</ul>
<p><a href="http://www.simfatic.com/forms/download-beta.php">Proceed to this page for more details and download</a></p>
<p>As always, <strong>all active Beta participants will get free Simfatic Forms licenses</strong>.</p>
<p>Take care of a few things though:</p>
<ul>
<li>Use this Beta version for testing only</li>
<li>Before opening existing form designs (the fwz file), take a backup of the file</li>
</ul>
<p>Please do try this new release and let me know your feedback. It is your comments that shape Simfatic Forms.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/288/simfatic-forms-3-2-beta-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>No Emails from the form? Try these steps</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/262/no-emails-from-the-form/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/262/no-emails-from-the-form/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 12:13:01 +0000</pubDate>
		<dc:creator>prasanth</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[form email]]></category>
		<category><![CDATA[send form to email]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=262</guid>
		<description><![CDATA[You designed the form using Simfatic Forms and uploaded it successfully. No problems so far. Easy, as a piece of cake! You fill the form and submit. No errors too. Then you wait and wait for the email &#8230; and it never arrives! Sounds familiar? Here are the steps to troubleshoot. But first, some background [...]]]></description>
			<content:encoded><![CDATA[<p>You designed the form using Simfatic Forms and uploaded it successfully.<br />
No problems so far. Easy, as a piece of cake!<br />
You fill the form and submit. No errors too.<br />
Then  you wait and wait for the email &#8230; and it never arrives!<br />
Sounds familiar? Here are the steps to troubleshoot.<br />
<span id="more-262"></span><br />
But first, some background information:<br />
As you are aware, the script generated by Simfatic Forms is running completely on the webserver where you uploaded the form. The web servers are configured in different ways that can affect the working of the script. The email configuration on the web server can become somewhat tricky. If the PHP-email is not configured correct on the web server, emailing may just fail without any error.</p>
<p>Here are the troubleshooting steps:</p>
<h2>1. Make sure that the &#8216;From&#8217; Field is a proper email address</h2>
<p>In the &#8216;Take the code&#8217; step, &#8216;Email settings&#8217; page enter a simple email address that belongs to the <em>same domain</em> where the form is uploaded. For example, if you are uploading the form to www.<strong>myteastall.com</strong>, the from address should be like forms@<strong>myteastall.com</strong> or info@<strong>myteastall.com</strong> (but not myteastall@gmail.com)<br />
<img src="http://www.simfatic.com/blog/wp-content/uploads/2010/12/From-Email.png" alt="The From field" width="491" height="162" class="alignnone size-full wp-image-271" /></p>
<h2>2. If using SMTP, make sure that the login is correct</h2>
<p>Please note that using SMTP option in the &#8216;Email settings&#8217; page is optional. If you do want to use the SMTP option, make sure the login details are entered accurate. </p>
<h2>3. Simfatic Forms&#8217; own diagnostics </h2>
<p>Simfatic Forms contains certain diagnostic features that point you to the settings. In the Take the Code page, if you see a link as shown below, take a moment to click and see what Simfatic Forms&#8217; has got to suggest.<br />
<img src="http://www.simfatic.com/blog/wp-content/uploads/2010/12/not-getting-emails.png" alt="Not getting emails?" width="244" height="251" class="alignnone size-full wp-image-272" /></p>
<h2>4. May be it is the webserver</h2>
<p>If you tried all these and still no emails, perhaps there is something wrong in the webserver configuration.<br />
What we can do is to test and see whether a simple PHP script can email from your website. Download the script from the link below; follow the instructions to test the script.<br />
<a href="http://www.simfatic.com/downloads/blog/samplemail.zip">samplemail.zip</a></p>
<ul>
<li>unzip the file samplemail.zip</li>
<li>Open the samplemail.php file in a text editor and replace email address with your email address. </li>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/12/update-email.png" alt="Update email address" width="409" height="171" class="alignnone size-full wp-image-274" /></p>
<li>Save and Upload samplemail.php to your website (just like you would upload any web page). </li>
<li>Now, access the uploaded script in your browser. </li>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/12/access-script.png" alt="access script online" width="429" height="128" class="alignnone size-full wp-image-275" />
</ul>
<p>It should send you a sample email. If not, there is something wrong in your webserver configuration. Post a support ticket to your web hosting support saying:<br />
&#8220;Hey!  it seems there is some problem with the PHP mail configuration. A simple PHP mail script like this: (give a link to the script you uploaded) doesn&#8217;t work!&#8221; and let them troubleshoot.</p>
<p>Or just drop me a line <a href="http://www.simfatic.com/support/feedback.php">posting this form</a> and I am here to help you!<br />
Do remember to attach the Simfatic Forms file (file with extension .fwz) ( do File-&gt;Save as from Simfatic Forms to get the fwz file) to your support request.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/262/no-emails-from-the-form/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Complex Date Validations Made Simple</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/240/complex-date-validations/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/240/complex-date-validations/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 05:17:01 +0000</pubDate>
		<dc:creator>prasanth</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[date picker]]></category>
		<category><![CDATA[date validation]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=240</guid>
		<description><![CDATA[Here is the scenario: &#8220;On your DatePicker, I desperately need the ability to have a start and end date picker, that I can set a value of Today + n days as the max date for StartDate, and then on the Endate + y days for a max on the EndDate.&#8221; Example 1st Jan 2010 [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the scenario:<br />
&#8220;On your DatePicker, I desperately need the ability to have a start and end date picker, that I can set a value of Today + n days as the max date for StartDate, and then on the Endate + y days for a max on the EndDate.&#8221;</p>
<p><strong>Example</strong><br />
1st Jan 2010 Is Today<br />
StartDate: Max Start Date would be Today + N where N is 350 days.</p>
<p>EndDate: Beginning Date would be Startdate, Max for EndDate would be StartDate + Y. Where Y is 15 days.</p>
<p>So: 30th Dec 2010 would be OK as start date, and end date could be up to 14 Jan 2011.</p>
<p>How to do this in Simfatic Forms?<br />
<span id="more-240"></span></p>
<h2>1. Add the Date Picker fields</h2>
<p>First, add the date picker fields and name them as StartDate and EndDate.</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/09/date-picker-fields.png" alt="Date picker fields" width="394" height="225" class="alignnone size-full wp-image-243" /></p>
<h2>2. Add a calculation field <em>DateDiffFromToday</em></h2>
<p>We need to find out the days between today (the day on which the form is filled out) and the start date. Add a calculation field and name it say, DateDiffFromToday. We can use the calculation function <code>days_from_today()</code> .<br />
The formula is:<br />
<code>days_from_today(StartDate)</code></p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/09/date-diff-start-date.png" alt="DateDiffStartDate" width="557" height="325" class="alignnone size-full wp-image-244" /></p>
<h2>2. Add another calculation field <em>DateDiff</em></h2>
<p>We need to find the number of days between StartDate and EndDate. Add a calculation field <em>DateDiff</em> and use the function days_between() in the formula.<br />
Formula:<br />
days_between(Enddate, StartDate)</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/09/date-diff.png" alt="Date diff" width="576" height="336" class="alignnone size-full wp-image-245" /></p>
<p>We can make the calculation fields hidden if the value need not be shown to the user.<br />
<img src="http://www.simfatic.com/blog/wp-content/uploads/2010/09/hidden-calc-field.png" alt="Hidden calculation field" width="324" height="245" class="alignnone size-full wp-image-246" /></p>
<h2>3. Validations</h3>
<p>First, StartDate should be after Today.<br />
<img src="http://www.simfatic.com/blog/wp-content/uploads/2010/09/validation-start-date1.png" alt="start date validation" width="539" height="244" class="alignnone size-full wp-image-251" /></p>
<p>Similarly, we can validate the EndDate to be after StartDate.</p>
<p>The StartDate should be within 350 days from the day the form is filled in. So the value of <em>DateDiffFromToday</em> (the calculation field) should be less than 350, but greater than 0.</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/09/validation-date-diff-from-today.png" alt="validation date diff from today" width="495" height="246" class="alignnone size-full wp-image-253" /></p>
<p>The days between StartDate and EndDate should be less than 15.</p>
<p>Putting it together, we have all the validations this way:<br />
<img src="http://www.simfatic.com/blog/wp-content/uploads/2010/09/all-validations.png" alt="all validations" width="191" height="259" class="alignnone size-full wp-image-255" /></p>
<p>You can <a href='http://www.simfatic.com/downloads/samples/dates.zip'>download the sample form fwz (Simfatic Forms project) file here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/240/complex-date-validations/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to add a &#8216;Confirm Email&#8217; field</title>
		<link>http://www.simfatic.com/blog/simfatic-forms/220/add-a-confirm-email-field/</link>
		<comments>http://www.simfatic.com/blog/simfatic-forms/220/add-a-confirm-email-field/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 15:47:00 +0000</pubDate>
		<dc:creator>prasanth</dc:creator>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[HowTo's]]></category>

		<guid isPermaLink="false">http://www.simfatic.com/blog/?p=220</guid>
		<description><![CDATA[It is common to have a validation that compares two fields in the form &#8211; Confirm Password, Confirm email and so on. Some developers believe that this will ensure that the correct email/password is entered. Just like you, I also don&#8217;t like typing my email twice; but, since you asked, here is how to do [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/07/confirm-email-form.png" alt="Confirm Email Field" width="342" height="164" class="size-full wp-image-223" /></p>
<p>It is common to have a validation that compares two fields in the form &#8211; Confirm Password, Confirm email and so on. </p>
<p>Some developers believe that this will ensure that the correct email/password is entered. Just like you,  I also don&#8217;t like typing my email twice; but, since you asked, here is how to do it in Simfatic Forms.<br />
<span id="more-220"></span></p>
<p>First, add the email field and the &#8216;confirm email&#8217; fields to your form.</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/07/drop-email-confirm-field.png" alt="Confirm Email Field" width="519" height="277" class="size-full wp-image-224" /></p>
<p>Proceed to the &#8216;Input Validations&#8217; page. </p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/07/confirm-email-validation.png" alt="Select the &#039;compare&#039; validation" width="558" height="323" class="alignnone size-full wp-image-225" /></p>
<p>Select the ConfirmEmail field on the left side<br />
Select the &#8216;Comparisons&#8217; tab on the right side.<br />
Press the &#8216;Add&#8217; button.</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/07/add-confirm-email-validation.png" alt="Add the comparison validation" width="589" height="329" class="alignnone size-full wp-image-226" /></p>
<p>Select &#8216;Equal To&#8217; and choose the &#8216;Email&#8217; field</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/07/confirm-email-validation-err.png" alt="Edit the validation error string" width="572" height="241" class="alignnone size-full wp-image-227" /><br />
You may also like to change the error string.<br />
Select the &#8220;=Email&#8221; validation node and update the error string.</p>
<p><img src="http://www.simfatic.com/blog/wp-content/uploads/2010/07/confirm-email-testing.png" alt="Testing the Confirm email validation" width="512" height="123" class="alignnone size-full wp-image-230" /></p>
<p>Done!</p>
<p>Note that the comparison validations can be extended further (like a &lt; b &gt; y) </p>
]]></content:encoded>
			<wfw:commentRss>http://www.simfatic.com/blog/simfatic-forms/220/add-a-confirm-email-field/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

