<?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: Rule/Code to extract keywords</title><link>https://www.infopathdev.com:443/forums/thread/89005.aspx</link><pubDate>Thu, 18 Apr 2013 14:32:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89005</guid><dc:creator>claire</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89005</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Many thanks for this, I give it a try and see how I get on.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks once again&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Claire&lt;/p&gt;</description></item><item><title>Re: Rule/Code to extract keywords</title><link>https://www.infopathdev.com:443/forums/thread/89004.aspx</link><pubDate>Thu, 18 Apr 2013 13:55:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89004</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89004.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=89004</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Claire,&lt;/p&gt;&lt;p&gt;&amp;nbsp;For me this depends on how many words you are checking against.&lt;/p&gt;&lt;p&gt;In the most basic form you could have a rule on a field &amp;quot;if field A contains &amp;quot;word1&amp;quot; then set field value of field b&amp;quot;.&amp;nbsp; I can&amp;#39;t quite figure out how you extract only specific words.&amp;nbsp; I&amp;#39;m almost there with an excel formula, but I can&amp;#39;t translate it to Infopath.&amp;nbsp; Depending on your form &amp;quot;field b&amp;quot; could be a section with multiple fields that were specified in in field A.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Or you could set a field value of b to copy the whole text and conditionally format the words as required.&lt;/p&gt;&lt;p&gt;Also, you&amp;#39;ll need a &amp;quot;submit&amp;quot; option of some description to easily close the form. Just have your default action (submit) to close the form. Although I always prefer switching views of a submit button. If a user fills out the form and it shuts down automatically, they will generally think they have done something wrong and try and do another form, or get hacked off.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;A &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Rule/Code to extract keywords</title><link>https://www.infopathdev.com:443/forums/thread/88972.aspx</link><pubDate>Wed, 17 Apr 2013 08:15:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88972</guid><dc:creator>claire</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88972.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88972</wfw:commentRss><description>&lt;p&gt;Good morning, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am fairly new to InfoPath 2010 development, and I have been asked to develop a form which requires the end user to write some &amp;#39;free text&amp;#39;, but if they enter certain words I want to be able to extract these words from the text and populate these in another text box from which a formula/workflow will run to close the form and not allow the end user to go any further.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does anyone know how I might achieve this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Many thanks&lt;/p&gt;</description></item></channel></rss>