<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Lock Prefix Characters in Field from being Changed</title><link>https://www.infopathdev.com:443/forums/thread/93756.aspx</link><pubDate>Fri, 18 Oct 2013 08:17:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93756</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93756</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You could use a 2nd field and display the choice as a calculate value.&lt;/p&gt;&lt;p&gt;If uses can&amp;#39;t change the original choice field you&amp;#39;ll need to write a rule perhaps in a section to hide the original choice control and only show the chosen value.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As for your rule.&amp;nbsp; I quickly put together the following. I&amp;#39;m sure you might be able to do it quicker too.&lt;/p&gt;&lt;p&gt;Field1 - your character text - on your form&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Result (hidden) - with the default value of sting-length(field1)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Warning Text field - only to appear if there are too many characters in field 1 - use section to show or hide.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;On the Result field I used the following formula Result&amp;gt;5 set field value of warning text to too many characters.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Lock Prefix Characters in Field from being Changed</title><link>https://www.infopathdev.com:443/forums/thread/93752.aspx</link><pubDate>Thu, 17 Oct 2013 19:14:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93752</guid><dc:creator>Tom Donaldson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93752.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93752</wfw:commentRss><description>&lt;p&gt;I have a field on the form that is prefilled with prefix characters based upon a choice field elsewhere in the form. The requester is to enter in subsequent characters however we do not want them to overwrite the prefix characters. How can I block the prefix characters?&lt;/p&gt;&lt;p&gt;I also would like to ensure that the field must contain 5 or more characters (including the prefix). How would I write that as a rule?&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>