<?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: turning a form into read-only</title><link>https://www.infopathdev.com:443/forums/thread/13217.aspx</link><pubDate>Thu, 05 May 2005 02:56:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13217</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13217.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13217</wfw:commentRss><description>Hi Assaf, Welcome to the Board!&lt;br /&gt;You dont need to write any code to make the form readonly. Everything can be done in Designer. &lt;br /&gt;The best way is to Design a seperate view called "Readonly" and switch to that view once your manager clicks the button. &lt;br /&gt;In Readonly view you will make all fields readonly, in the sense you can have all the values as expression boxes.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>turning a form into read-only</title><link>https://www.infopathdev.com:443/forums/thread/12448.aspx</link><pubDate>Wed, 04 May 2005 11:22:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12448</guid><dc:creator>lp12</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12448.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12448</wfw:commentRss><description>Hi all,&lt;br /&gt;I want to give my manager the capability to restrict a form to read only after he reviews it (By pushing a btn). I'm a newbie to JS but have program capabilities. I inquired a bit in the SDK about the XDocument object but didnt get any way with that. I saw the IsReadOnly but no SetReadOnly.&lt;br /&gt;Any suggestions? Thanks in advance</description></item></channel></rss>