<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Validating Hidden Fields in ASP.NET MVC 2</title>
	<atom:link href="http://www.gregshackles.com/2010/02/validating-hidden-fields-in-asp-net-mvc-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gregshackles.com/2010/02/validating-hidden-fields-in-asp-net-mvc-2/</link>
	<description>Reflections on technology and web development</description>
	<lastBuildDate>Tue, 24 Jan 2012 15:20:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: prakash</title>
		<link>http://www.gregshackles.com/2010/02/validating-hidden-fields-in-asp-net-mvc-2/comment-page-1/#comment-2137</link>
		<dc:creator>prakash</dc:creator>
		<pubDate>Tue, 22 Nov 2011 09:59:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregshackles.com/?p=153#comment-2137</guid>
		<description>how to validate using hidden field values on submit of a form.</description>
		<content:encoded><![CDATA[<p>how to validate using hidden field values on submit of a form.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: silent sojourner</title>
		<link>http://www.gregshackles.com/2010/02/validating-hidden-fields-in-asp-net-mvc-2/comment-page-1/#comment-2125</link>
		<dc:creator>silent sojourner</dc:creator>
		<pubDate>Wed, 26 Oct 2011 19:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregshackles.com/?p=153#comment-2125</guid>
		<description>Actually only ie 7 has this issue. ie 8 can validate hidden fields even without your added code.</description>
		<content:encoded><![CDATA[<p>Actually only ie 7 has this issue. ie 8 can validate hidden fields even without your added code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.gregshackles.com/2010/02/validating-hidden-fields-in-asp-net-mvc-2/comment-page-1/#comment-304</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Tue, 20 Jul 2010 04:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregshackles.com/?p=153#comment-304</guid>
		<description>@Kon:  Glad you found the article useful.  I had thought about doing it that way, but that didn&#039;t feel right since it meant changing their implementation for _isTextualInputElement(), which could cause problems if they change that function otherwise in future versions.  It doesn&#039;t seem worth it to change their implementation when they already provide the means to add your own custom behavior.

On top of that, I also figured this provided a good example of how to add custom validation in general :)</description>
		<content:encoded><![CDATA[<p>@Kon:  Glad you found the article useful.  I had thought about doing it that way, but that didn&#8217;t feel right since it meant changing their implementation for _isTextualInputElement(), which could cause problems if they change that function otherwise in future versions.  It doesn&#8217;t seem worth it to change their implementation when they already provide the means to add your own custom behavior.</p>
<p>On top of that, I also figured this provided a good example of how to add custom validation in general <img src='http://www.gregshackles.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kon</title>
		<link>http://www.gregshackles.com/2010/02/validating-hidden-fields-in-asp-net-mvc-2/comment-page-1/#comment-302</link>
		<dc:creator>Kon</dc:creator>
		<pubDate>Mon, 19 Jul 2010 22:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregshackles.com/?p=153#comment-302</guid>
		<description>Hi, thanks for your article - I was looking for just this.  However, once I got to the end and started to think about where it&#039;s more appropriate to place the actual validation function, I started spilunking through the MicrosoftMvcValidation.js and realized that none of this is really necessary.  I believe, all you have to do is alter the Sys.Mvc.RequiredValidator._isTextualInputElement() function and add the &quot;HIDDEN&quot; inputType case.  Wouldn&#039;t this be enough and easier/simpler than creating new attributes and so on?</description>
		<content:encoded><![CDATA[<p>Hi, thanks for your article &#8211; I was looking for just this.  However, once I got to the end and started to think about where it&#8217;s more appropriate to place the actual validation function, I started spilunking through the MicrosoftMvcValidation.js and realized that none of this is really necessary.  I believe, all you have to do is alter the Sys.Mvc.RequiredValidator._isTextualInputElement() function and add the &#8220;HIDDEN&#8221; inputType case.  Wouldn&#8217;t this be enough and easier/simpler than creating new attributes and so on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.gregshackles.com/2010/02/validating-hidden-fields-in-asp-net-mvc-2/comment-page-1/#comment-168</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 30 Jun 2010 02:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregshackles.com/?p=153#comment-168</guid>
		<description>Thanks for the heads up, should be fixed now!</description>
		<content:encoded><![CDATA[<p>Thanks for the heads up, should be fixed now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aarti</title>
		<link>http://www.gregshackles.com/2010/02/validating-hidden-fields-in-asp-net-mvc-2/comment-page-1/#comment-166</link>
		<dc:creator>Aarti</dc:creator>
		<pubDate>Tue, 29 Jun 2010 11:17:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregshackles.com/?p=153#comment-166</guid>
		<description>Hi,

I am not able to go to the demo project download link.
Please do the needful.
Link is giving 404 error.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am not able to go to the demo project download link.<br />
Please do the needful.<br />
Link is giving 404 error.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced) (user agent is rejected)

Served from: www.gregshackles.com @ 2012-02-05 12:27:45 -->
