<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Datetime field validation</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/datetime-field-validation</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/datetime-field-validation/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>4D on Datetime field validation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datetime-field-validation#p24506</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datetime-field-validation#p24506</guid>
        	        	<description><![CDATA[<p>Is DATETIME still not supported?</p>
<p>Is it likely to be in a future release? This could certainly be really useful for me.</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Fri, 02 Sep 2011 12:50:04 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Datetime field validation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datetime-field-validation#p9097</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datetime-field-validation#p9097</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You do nothing wrong. The current date checking work only on date formats and not on datetime format.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 05:21:48 +0300</pubDate>
        </item>
        <item>
        	<title>jpalac on Datetime field validation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datetime-field-validation#p8983</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datetime-field-validation#p8983</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I&#39;ve got a datetime column in a 3.5 grid using cell editing.&#160;I&#39;m trying to get validation happening and&#160;I have the following column definition:</p>
<p><span class="HTML_TXT"><span class="JS_TXT"><span style="background-color: #f0f0f0;">{ name: <span class="JS_STR"><span style="color: #800000;">"DTField"</span></span>, index: <span class="JS_STR"><span style="color: #800000;">"DTField"</span></span>, label:<span class="JS_STR"><span style="color: #800000;">"DTField"</span></span>, key: false, hidden: false, width: <span class="JS_NUM"><span style="color: #ff0000;">140</span></span>, sortable: true, datefmt:<span class="JS_STR"><span style="color: #800000;">"dd/mm/yyyy H:i"</span></span>, resizable: true, editable: true, sorttype: <span class="JS_STR"><span style="color: #800000;">"date"</span></span>, editrules:{required:true ,date:true}, formatter: <span class="JS_STR"><span style="color: #800000;">"date"</span></span>, formatoptions:{mask: <span class="JS_STR"><span style="color: #800000;">&#39;dd/mm/yyyy H:i&#39;</span></span>} , editoptions: { size: <span class="JS_NUM"><span style="color: #ff0000;">20</span></span>, dataInit: <span class="JS_KEY"><span style="color: #0000ff;">function</span></span>(elem) { pickdatetime(elem,true); }} },</span></span></span></p>
</p>
<p>The part that doesn&#39;t work is the H:i bit. I can get this&#160;to work if I only have a date and I remove the H:i from the format and mask. My datetime picker is returning the date&#160;and time in a string of 27/08/2009 11:12 and that is getting rejected (error message comes up after edit)&#160;by&#160;the <span class="JS_STR"><span style="background-color: #f0f0f0; color: #800000;">&#39;dd/mm/yyyy H:i&#39;</span></span> format.&#160;</p>
<p>Am I doing something wrong? I know I can remove the "date:true" param and then any datetime will be accepted, however I would really like to have the validation on.</p>
</p>
<p>Thanks,</p>
</p>
<p>Jo&#160;</p></p>
]]></description>
        	        	<pubDate>Wed, 26 Aug 2009 20:21:19 +0300</pubDate>
        </item>
</channel>
</rss>