<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: make field read only vb.net ?</title><link>https://www.infopathdev.com:443/forums/thread/13886.aspx</link><pubDate>Mon, 31 Oct 2005 21:37:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13886</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13886</wfw:commentRss><description>I assume you are referring to something like xdExtension:FldReadOnly() in your conditional formatting.  If so, that is the closest thing I know of out there.</description></item><item><title>Re: make field read only vb.net ?</title><link>https://www.infopathdev.com:443/forums/thread/13885.aspx</link><pubDate>Mon, 31 Oct 2005 20:16:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13885</guid><dc:creator>nkelkar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13885.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13885</wfw:commentRss><description>One alternate suggested by Patrick Halstead (on another group) is to have a boolean field called as say "FldReadOnly"&lt;br /&gt;&lt;br /&gt;On Form load (or other) use the business logic to check if the fields on the form need to be read-only or allow them to be edited. If fields need to be readonly, within your managed code you can set the field "FldReadOnly" value as True. In the conditional formatting (UI) for InfoPath, check id "FldReadOnly" is True, if True disable, else allow editing. A default value for "FldReadOnly" can be False.&lt;br /&gt;&lt;br /&gt;Thats the best option I have so far.&lt;br /&gt;&lt;br /&gt;Any comments.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;nkelkar</description></item><item><title>make field read only vb.net ?</title><link>https://www.infopathdev.com:443/forums/thread/12648.aspx</link><pubDate>Mon, 31 Oct 2005 19:59:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12648</guid><dc:creator>nkelkar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12648.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12648</wfw:commentRss><description>A simple option which I am unable to conclude or get an answer.&lt;br /&gt;&lt;br /&gt;Field(s) on the form need to be made read-only during runtime, "How do I make a field read only in managed code (I am using vb.net, based on some logic)?"&lt;br /&gt;&lt;br /&gt;I know there are options within infopath, by clicking on field properties and changing Display -&amp;gt; ReadOnly BUT BUT BUT, thats not what I want to do. The field read-only property should be controlled using runtime code.&lt;br /&gt;&lt;br /&gt;Searched extensively, but no answer yet. Any pointers would be appreciated.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;nkelkar</description></item></channel></rss>