<?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</title>
	<atom:link href="https://blog.simfatic.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.simfatic.com</link>
	<description>Updates from Simfatic Solutions</description>
	<lastBuildDate>Sat, 29 Jan 2022 11:39:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.4.16</generator>
	<item>
		<title>Simfatic Forms update (5.0.10) PHP 8.1, Windows 11 support</title>
		<link>https://blog.simfatic.com/simfatic-forms/739/simfatic-forms-update-5-0-10-php-8-1-windows-11-support/</link>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Sat, 29 Jan 2022 11:37:27 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[simfatic forms 5]]></category>
		<guid isPermaLink="false">/?p=739</guid>

					<description><![CDATA[A new release of Simfatic Forms 5 is available for download. This release supports PHP up to version 8.1. If you are getting &#8220;Deprecated&#8221; errors from PHP 8, use the new version to generate the code and re-upload the forms. Here is the summary of updates in this release: 1. PHP 8.1 compatibility 2. Works [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A new release of Simfatic Forms 5 is available for download.</p>
<p>This release supports PHP up to version 8.1. If you are getting &#8220;Deprecated&#8221; errors from PHP 8, use the new version to generate the code and re-upload the forms. Here is the summary of updates in this release:</p>
<p>1. PHP 8.1 compatibility<br />
2. Works on Windows 11<br />
3. Fixes issue where Paypal response page was not redirected to https:// page but to http:// page<br />
4. Fixes issue where elements from deleted pages appear in single page forms.</p>
<p>You can download the latest version of Simfatic Forms from the link below:<br />
<a href="https://simfatic.com/forms/updates.html">https://simfatic.com/forms/updates.html</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Generating PDF invoice from Form Submission using a custom script</title>
		<link>https://blog.simfatic.com/simfatic-forms/727/generating-pdf-invoice-from-form-submission-using-a-custom-script/</link>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Sat, 07 Mar 2020 05:08:45 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<guid isPermaLink="false">http://blog.simfatic.com/?p=727</guid>

					<description><![CDATA[This is a guest post from long term Simfatic Forms customer Pierre Linssen. Pierre managed to add a PDF invoice feature to his forms using the extension modules feature. The code could be useful to other users who want similar features. Thanks, Pierre for sharing the code and for the write-up. On to the post [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This is a guest post from long term Simfatic Forms customer  Pierre Linssen. </p>
<p>Pierre managed to add a PDF invoice feature to his forms using the <a href="https://simfatic.com/forms/help/v50/extension-module.html">extension modules</a> feature. The code could be useful to other users who want similar features. Thanks, Pierre for sharing the code and for the write-up.</p>
<p>On to the post &#8230;</p>
<hr />
<h2>Introduction</h2>
<p>My name is Pierre Linssen, born and raised in the Netherlands and for 10 years living and working in Germany.</p>
<p>In my daily life, I am working as a self-employed interim manager, program manager and coach in various areas like energy, security, finance and IT.</p>
<p>As a hobby, since the year 2003, I am also the webmaster of <a href="http://www.tukhut.nl" target="_blank">www.tukhut.nl</a>, a mountain house of the NKBV (the Dutch mountain climbing association). </p>
<p>In the summer of 2010, for <a href="http://www.tukhut.nl" target="_blank">www.tukhut.nl</a>, I wanted to get a dedicated subscription form online.</p>
<p>At that time I had to decide: either do it all by myself or scan the market to see if there were suitable software solutions available to create the desired form.<br />
And I definitely found one! That was when I first got in touch with Simfatic Forms. At that time, Prasanth assisted and supported me in getting some sophisticated input validations implemented.</p>
<p>Ever since then, so already almost 10 years ago, the Tukhut subscription form, with some additional improvements, flawlessly has been doing its job. </p>
<h2>Excellent support!</h2>
<p>During the last 10 years, every now and then, I had some specific questions related to the deployment of various with Simfatic Forms created and implemented forms.</p>
<p>And I really must say: Prasanth has always responded to my questions very fast. And together we have always found appropriate solutions for some smaller and for some bigger challenges.<br />
Thank you very much, Prasanth, for all your swift support during the past 10 years !!!</p>
<h2>A recent Simfatic Forms project</h2>
<p>Recently one of my clients in the Netherlands, who is organizing and giving several workshops and training, wanted to have an application implemented with the following key demands:</p>
<p>registration/subscription for various workshops/trainings, with:</p>
<ul>
<li>automatic generation of a response e-mail to each subscriber</li>
<li>automatic generation of an e-mail with attached PDF-invoice to each subscriber</li>
<li>automatic generation of a received subscription e-mail to the workshop organizer</li>
<li>automatic generation of an e-mail with attached PDF-invoice copy to the workshop organizer;</li>
<li>automatic database registration of each subscription, to facilitate future communication with workshop subscribers.</li>
</ul>
<h2>Time to pay it forward &#8230;</h2>
<p>So I guess now it is time to share a demo-project with you, based on the above-mentioned project.</p>
<p>Obviously, the demo- form itself has been generated with Simfatic Forms.</p>
<p>You can download all my project files here<br />
<a href="http://simfatic.com/downloads/samples/pdf-invoice-sample.zip">pdf-invoice-sample.zip</a></p>
<p>The pdf-invoice-sample.zip contains the following files:</p>
<ol>
<li>The Simfatic Forms project file. (subscribe_workshops.fwz) </li>
<li>a specific extension module that has been integrated with Simfatic Forms. (post-to-another-form-extension-module.php)</li>
<li>a dedicated PHP file for PDF invoice generation, importing variables from the form, handling of those variables,<br />
        creating the format for the PDF-invoice, creating the PDF-invoice itself and sending out the PDF-invoice via e-mail. (workshop_invoice.php) </li>
</ol>
<p>In addition to the files above, you need additional supporting files for the PDF generation. Details below:</p>
<ol>
<li>FPDF, a PHP-class that arranges the generation of a PDF-document. The needed FPDF files <a href="http://www.fpdf.org/" target="_blank">can be found here &#8230;</a></li>
<li>FPDF easyTable, another PHP-class, facilitating the creation of tables in PDF-documents. The needed easyTable files <a href="https://github.com/fpdf-easytable/fpdf-easytable" target="_blank">can be found here &#8230;</a></li>
</ol>
<h2>Steps</h2>
<ol>
<li>You have to edit the workshop_invoice.php file in a text editor and replace you@website.com with your email address.</li>
<li>Upload the file workshop_invoice.php to your website making it available at an address like http://your-website.com/workshop_invoice.php. You will have to upload the additional supporting FPDF files also in the same folder.</li>
<li>Edit the extension module post-to-another-form-extension-module.php in a text editor. Update the URL of the script to the correct URL from the last step (http://your-website.com/workshop_invoice.php)</li>
<li>Open the Simfatic Forms project file (subscribe_workshops.fwz) in Simfatic Forms. Enable extension Module (Form processing options page). Press Next and add the updated extension module (post-to-another-form-extension-module.php) in the extension modules page</li>
<li>Proceed to upload the form</li>
</ol>
<p>I hope you find this script useful.</p>
<p>Any questions?<br />
Just email me (Pierre Linssen) info {(at)} aeternus.org.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Simfatic Forms Update (5.0.8) &#8211; includes security updates</title>
		<link>https://blog.simfatic.com/simfatic-forms/719/simfatic-forms-update-5-0-8/</link>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Tue, 20 Nov 2018 07:28:42 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[simfatic forms 5]]></category>
		<guid isPermaLink="false">http://blog.simfatic.com/?p=719</guid>

					<description><![CDATA[A new release of Simfatic Forms is available for download. Here are the updates in this release: Fixes security bug in &#8220;Save and Continue&#8221; feature. Read the details here Fixes issue in the Look&#38; Feel Page where the font size was not saving/updating. Updated the Drag &#38; Drop support for the File upload box You [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A new release of Simfatic Forms is available for download.</p>
<p>Here are the updates in this release:</p>
<ol>
<li>Fixes security bug in &#8220;Save and Continue&#8221; feature. <a href="https://simfatic.com/forms/save-and-continue-security-update.html">Read the details here</a></li>
<li>Fixes issue in the Look&amp; Feel Page where the font size was not saving/updating.</li>
<li>Updated the Drag &amp; Drop support for the File upload box</li>
</ol>
<p><iframe width="500" height="281" src="https://www.youtube.com/embed/TES3Y_VvYIk?feature=oembed" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>You can download Simfatic Forms 5 from the link below:</p>
<p><a href="https://simfatic.com/forms/updates.html">Simfatic Forms 5 Download</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Simfatic Forms Update (5.0.6) Available</title>
		<link>https://blog.simfatic.com/simfatic-forms/713/simfatic-forms-5-0-6-available/</link>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Tue, 06 Feb 2018 13:34:03 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<guid isPermaLink="false">http://blog.simfatic.com/?p=713</guid>

					<description><![CDATA[A new update of Simfatic Forms is available. This release improves the responsive code generation feature further. You can download the update from the download page: Download Simfatic Forms]]></description>
										<content:encoded><![CDATA[<p>A new update of Simfatic Forms is available.<br />
<img src="http://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2.png" alt="" width="842" height="542" class="alignnone size-full wp-image-716" srcset="https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2.png 842w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-150x97.png 150w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-300x193.png 300w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-768x494.png 768w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-65x42.png 65w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-220x142.png 220w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-155x100.png 155w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-252x162.png 252w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-250x160.png 250w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-541x348.png 541w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-628x404.png 628w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-808x520.png 808w, https://blog.simfatic.com/wp-content/uploads/2018/02/simfatic5_2-86x55.png 86w" sizes="(max-width: 842px) 100vw, 842px" /></p>
<p>This release improves the responsive code generation feature further.</p>
<p>You can download the update from the download page:</p>
<p><a href="https://simfatic.com/forms/downloadx.html">Download Simfatic Forms</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Simfatic Forms Update (5.0.5) Available</title>
		<link>https://blog.simfatic.com/simfatic-forms/705/simfatic-forms-5-0-5-available/</link>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Wed, 07 Jun 2017 13:36:01 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[new release]]></category>
		<guid isPermaLink="false">http://blog.simfatic.com/?p=705</guid>

					<description><![CDATA[A new update of Simfatic Forms is available for download. Download Simfatic Forms Updates in this release 1. fixes multi-page forms with different sizes display issue 2. Paypal calculated quantity/variable quantity not getting updated &#8211; fixed 3. Added an option in Decimal (numeric) field to turn off the up/down spinner 4. Other small fixes and [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A new update of Simfatic Forms is available for download.<br />
<a href="https://simfatic.com/forms/downloadx.html">Download Simfatic Forms</a> </p>
<h3>Updates in this release</h3>
<ul>
<li>1. fixes multi-page forms with different sizes display issue</li>
<li>2. Paypal calculated quantity/variable quantity not getting updated &#8211; fixed</li>
<li>3. Added an option in Decimal (numeric) field to turn off the up/down spinner</li>
<li>4. Other small fixes and enhancements</li>
</ul>
<p>The decimal field will have an option to turn off the spinner/arrows that appear by default for numeric input fields. The spinner is displayed by default by browsers for HTML5 &lt;input type=&#8217;number&#8217; &gt; field.</p>
<p>However, many Simfatic Forms users found the &#8216;spinners&#8217; not quite useful. So there will an option in the decimal field properties to create a decimal field without those &#8216;spinners&#8217;.</p>
<p>There is no consistent way in HTML5/CSS3 to turn the spinners off. In order to create &#8216;plain&#8217; numeric fields without those spinners, Simfatic Forms creates an &lt;input type=&#8217;text&#8217; pattern='[0-9]*&#8217;&gt; field. </p>
<p><a href="https://simfatic.com/forms/downloadx.html">Download Simfatic Forms</a> </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Simfatic Forms New Release &#8211; Responsive Forms</title>
		<link>https://blog.simfatic.com/simfatic-forms/688/simfatic-forms-responsive-forms/</link>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Wed, 22 Mar 2017 05:02:54 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[responsive forms]]></category>
		<category><![CDATA[simfatic forms release]]></category>
		<guid isPermaLink="false">http://blog.simfatic.com/?p=688</guid>

					<description><![CDATA[A new update of Simfatic Forms 5 is available. Version Simfatic Forms 5.0.4 This update improves the responsive features of Simfatic Forms. As you know, Simfatic Forms gives you the flexibility to place the form elements in any way you want, rather than restricting in a vertical-only layout. This limits Simfatic Forms in making the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A new update of Simfatic Forms 5 is available. Version Simfatic Forms 5.0.4</p>
<p>This update improves the responsive features of Simfatic Forms. </p>
<p>As you know, Simfatic Forms gives you the flexibility to place the form elements in any way you want, rather than restricting in a vertical-only layout. This limits Simfatic Forms in making the form &#8216;responsive&#8217; (change layout based on screen size). </p>
<p>Simfatic Forms 5 comes with two options: You can layout the form the way you want &amp; still<br />
keep it working with mobile devices<br />
OR<br />
Enable an auto-responsive option that fits the form elements automatically to a vertical layout. </p>
<p>Here is a quick demo of the feature<br />
<a href="https://www.youtube.com/watch?v=N4YGSJVs6Qk">https://www.youtube.com/watch?v=N4YGSJVs6Qk</a></p>
<p>Simfatic Forms 5 adds a setting in the Tools-&gt;Options dialog box.<br />
Enable &#8216;generate responsive code&#8217; option. If this option is enabled, Simfatic Forms will force&#8217;  vertical layout in small screens. Larger screens will show the form in your original layout.<br />
<img src="http://blog.simfatic.com/wp-content/uploads/2017/03/enable-responsive.png" alt="" width="1280" height="720" class="alignnone size-full wp-image-693" /></p>
<p>Next, make sure the label for each element is assigned correctly.  Simfatic forms tries to assign the label to the element automatically. However, it is always better to make sure the label is assigned to the right element. Select the properties of the label and then check that the correct input element is assigned.<br />
<img src="http://blog.simfatic.com/wp-content/uploads/2017/03/associate-labels.png" alt="" width="1280" height="720" class="alignnone size-full wp-image-694" /></p>
<p>You can download the latest Simfatic Forms update <a href="https://simfatic.com/forms/downloadx.html">here</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Simfatic Forms 5 is ready!</title>
		<link>https://blog.simfatic.com/simfatic-forms/669/simfatic-forms-5-is-ready/</link>
					<comments>https://blog.simfatic.com/simfatic-forms/669/simfatic-forms-5-is-ready/#comments</comments>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Tue, 31 Jan 2017 10:57:55 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<guid isPermaLink="false">http://blog.simfatic.com/?p=669</guid>

					<description><![CDATA[Simfatic Forms 5 is released. Download Simfatic Forms 5 Here is a brief overview of the updates in Simfatic Forms 5 Better HTML5/CSS3 Support PHP 7 Support Improved Emailing &#38; SMTP More date &#8211; calculation functions month() year() dayofmonth() dayofweek() Support for strings in calculations concat() str(&#8220;&#8221;) New HTML5 input types Email Phone Slider (range [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Simfatic Forms 5 is released.</p>
<p><a href="http://simfatic.com/forms/downloadx.html">Download Simfatic Forms 5</a></p>
<p>Here is a brief overview of the updates in Simfatic Forms 5</p>
<ul>
<li>Better HTML5/CSS3 Support</li>
<li>PHP 7 Support</li>
<li>Improved Emailing &amp; SMTP</li>
<li>More date &#8211; calculation functions
<ul>
<li>month()</li>
<li>year()</li>
<li>dayofmonth()</li>
<li>dayofweek()</li>
</ul>
</li>
<li>Support for strings in calculations
<ul>
<li>concat()</li>
<li>str(&#8220;&#8221;)</li>
</ul>
</li>
<li>New HTML5 input types
<ul>
<li>Email</li>
<li>Phone</li>
<li>Slider (range )</li>
</ul>
</li>
</ul>
<p>Also see:<br />
<a href="https://youtu.be/QFzvsmlsC5I">Simfatic Forms Overview Demo </a></p>
<p><a href="/forms/order">Order Simfatic Forms 5</a></p>
<p>Existing users can Upgrade:<br />
<a href="/forms/upgrade/step1">Upgrade to Simfatic Forms 5.0</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.simfatic.com/simfatic-forms/669/simfatic-forms-5-is-ready/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Simfatic Forms 5 Beta 2 Released</title>
		<link>https://blog.simfatic.com/simfatic-forms/664/simfatic-forms-5-beta-2-released/</link>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Tue, 17 Jan 2017 13:24:27 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[download]]></category>
		<guid isPermaLink="false">http://blog.simfatic.com/?p=664</guid>

					<description><![CDATA[Simfatic Forms 5 Beta 2 is available for download. Download Simfatic Forms 5 Beta 2 This update fixes all the issues reported so far. Keep sending your feedback in the form below: Submit Suggestions]]></description>
										<content:encoded><![CDATA[<p><img src="http://blog.simfatic.com/wp-content/uploads/2017/01/simfatic-forms-5-beta-2.png" alt="" width="800" height="529" class="alignnone size-full wp-image-665" /></p>
<p>Simfatic Forms 5 Beta 2 is available for download.</p>
<p><a href="http://simfatic.com/forms/download-beta">Download Simfatic Forms 5 Beta 2</a></p>
<p>This update fixes all the issues reported so far. </p>
<p>Keep sending your feedback in the form below:</p>
<p><a href="http://simfatic.com/submit-suggestions.html">Submit Suggestions</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Simfatic Forms 5 Beta 1 Released</title>
		<link>https://blog.simfatic.com/simfatic-forms/659/simfatic-forms-5-beta-1-released/</link>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Mon, 09 Jan 2017 13:24:08 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<guid isPermaLink="false">http://blog.simfatic.com/?p=659</guid>

					<description><![CDATA[Simfatic Forms 5 is getting ready. The first beta release of Simfatic Forms 5 is available here: http://simfatic.com/forms/download-beta Here is the list of updates in this release: PHP 7 support Better Mobile/small device Suport HTML5 &#38; CSS3 New HTML5 input types Email Phone Slider (range ) Updated Calculation field &#8211; now supports string literal calculations! [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Simfatic Forms 5 is getting ready. The first beta release of Simfatic Forms 5 is available here:</p>
<p><a href="http://simfatic.com/forms/download-beta">http://simfatic.com/forms/download-beta</a></p>
<p>Here is the list of updates in this release:</p>
<ul>
<li>PHP 7 support</li>
<li>Better Mobile/small device Suport</li>
<li>HTML5 &amp; CSS3 </li>
<li>New HTML5 input types </li>
<ul>
<li>Email</li>
<li>Phone</li>
<li>Slider (range )</li>
</ul>
<li>Updated Calculation field &#8211; now supports string literal calculations!</li>
<li>Calculation field now supports more formulas</li>
<li>Better Email &amp; SMTP support</li>
</ul>
<p>Try it out and <a href="http://simfatic.com/submit-suggestions.html">let me know your feedback</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Customizing the Date Field to Disable Certain Dates</title>
		<link>https://blog.simfatic.com/simfatic-forms/636/disable-certain-dates/</link>
					<comments>https://blog.simfatic.com/simfatic-forms/636/disable-certain-dates/#comments</comments>
		
		<dc:creator><![CDATA[prasanth]]></dc:creator>
		<pubDate>Fri, 13 Mar 2015 06:07:57 +0000</pubDate>
				<category><![CDATA[Simfatic Forms]]></category>
		<category><![CDATA[date picker]]></category>
		<category><![CDATA[jquery ui]]></category>
		<guid isPermaLink="false">http://blog.simfatic.com/?p=636</guid>

					<description><![CDATA[The Date picker field in Simfatic Forms has many built-in features. You can use the smart-init feature to initialize it to a certain date. (for example: today or today + 1 week or another_date+1week etc) If you need even further customization that is possible through custom code. In this post I will show you how [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The Date picker field in Simfatic Forms has many built-in features. You can use the smart-init feature to initialize it to a certain date. (for example: today or today + 1 week or another_date+1week etc)<br />
If you need even further customization that is possible through custom code. In this post I will show you how to disable certain dates (for example, Saturdays and Sundays) through custom code.<br />
<span id="more-636"></span></p>
<p>The Simfatic Forms date picker uses <a href="http://jqueryui.com/datepicker/">jQuery UI Date picker</a>. So all the options available for the jQuery UI is available in Simfatic Forms date picker as well. <a href="http://api.jqueryui.com/datepicker/">Here is the list</a> of options, methods and events in jQuery UI Date picker.<br />
To disable saturdays and Sundays, we make use of the beforeShowDay call back option. So in the Draw the form page-&gt;Custom Code-&gt;Javascript tab, enter the following code:</p>
<p><code><br />
$('#dd').datepicker("option","beforeShowDay",function(date) {<br />
        var day = date.getDay();<br />
        return [(day != 0 &amp;&amp; day != 6), ''];<br />
    });<br />
</code><br />
dd is the name of the date field.<br />
for the day, Sunday is 0 , Monday is 1 and so forth<br />
<img src="http://blog.simfatic.com/wp-content/uploads/2015/03/date-picker-custom-code.png" width="477" height="369" alt="Date picker custom code" class /></p>
<p>Preview the form and it would have disabled Saturdays and Sundays.</p>
<p>However, the user can type and enter a date (that is Sunday) in the text box. For that, you have to <a href="http://simfatic.com/forms/help/v40/how_to_add_your_own_validation.html">add a custom validation</a>.</p>
<p>Here is the custom validation code that checks the day. Enter this custom validation code in the Input Validations-&gt; Options-&gt;Custom Validation box</p>
<p><code><br />
var datelement = $('#dd').get(0);<br />
var date = datelement.getcal();<br />
if(date.getDay()==6 || date.getDay()==0)<br />
{<br />
  return({ elementobj:datelement, message:"Shouldn't be Saturday or Sunday!" });<br />
}<br />
return true;<br />
</code><br />
<img src="http://blog.simfatic.com/images/custom-validation.png" width="541" height="372" alt="Date picker custom validation" class="alignnone" /></p>
<p>The Simfatic Forms date picker input has a function getcal() that gets the associated Javascript Date object. We then check the day and return error if it is Saturday or Sunday</p>
<p><a href="//simfatic.com/downloads/blog/date-picker-customization.zip">Download the sample fwz file here</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.simfatic.com/simfatic-forms/636/disable-certain-dates/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
