<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: English Only Field + Tricky Auto population of a field</title><link>https://www.infopathdev.com:443/forums/thread/65920.aspx</link><pubDate>Thu, 14 Apr 2011 11:06:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65920</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65920</wfw:commentRss><description>&lt;p&gt;Auto-Populate&lt;/p&gt;&lt;p&gt;I think you are actually trying to say is you need the form to open with the fields already pre-populated and that default values have &amp;#39;paragraphs&amp;#39;.&lt;br /&gt;And of course the Infopath GUI is only giving you single line text box to enter default values for fields.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So here&amp;#39;s a method/solution.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Create the text (not rich text) field - make it &amp;#39;Allow paragraphs&amp;#39; in the field properties&lt;/li&gt;&lt;ul&gt;&lt;li&gt;If your field is part of a repeating group (I suspect it is)&lt;br /&gt;Go to the form &amp;#39;default values&amp;#39; options in the &amp;#39;Tools&amp;#39; menu (IP2003)&lt;br /&gt;Insert as many sets of the repeating group as you will need &amp;#39;default values&amp;#39; for the fields&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Use the File &amp;gt; Extract Form Files&lt;/li&gt;&lt;li&gt;Close the template and go to the extracted files, edit &amp;#39;template.xml&amp;#39; in notepad&lt;/li&gt;&lt;li&gt;You will see the fields the form uses when it first opens - you can now type raw text in between the according field tags, including carriage returns.&lt;/li&gt;&lt;li&gt;Save the template.xml and right click the manifest.xsf and choose design.&lt;/li&gt;&lt;li&gt;Preview and you will see your field now contains the text you put in the template.xml with the carriage returns!&lt;/li&gt;&lt;/ul&gt;Want it to be rich text? Woah, unlikely, though I have some functions floating around which can append rich text fields with the encoded data that represents the desire rich text to add - but it&amp;#39;s much fiddly and uses JScript/VBScript.&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: English Only Field + Tricky Auto population of a field</title><link>https://www.infopathdev.com:443/forums/thread/65919.aspx</link><pubDate>Thu, 14 Apr 2011 10:51:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65919</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65919</wfw:commentRss><description>&lt;p&gt;English Only - Not sure if this kind of &amp;#39;condition/validation&amp;#39; would work, but try something like:&lt;/p&gt;&lt;p&gt;string-length(translate(., &amp;quot;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.,&amp;quot;, &amp;quot;&amp;quot;)) &amp;gt; 0&lt;/p&gt;&lt;p&gt;Make sure you include all &amp;#39;legal&amp;#39; characters in the first string. For e.g. the above as validation would fail if I put numbers in the field. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: English Only Field + Tricky Auto population of a field</title><link>https://www.infopathdev.com:443/forums/thread/65805.aspx</link><pubDate>Fri, 08 Apr 2011 10:08:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65805</guid><dc:creator>ES1983</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65805</wfw:commentRss><description>Hey Patrick,

I&amp;#39;m not sure i understood your answer - Here is my problem in more details:

I have a selection field that contains about 12 values. to each selected value i want a different rich text field, to get a text similar to this one (the &amp;quot;enters&amp;quot; are important):

&amp;quot;
The exam details are as follows:



1. Outside seems fine



2. Inside seems fine



3. The results are OK.



summary:



&amp;quot;

for some reason when i post it - there are no line breaks (How did you do it? i press enter and it doesn&amp;#39;t work...) - imagine there is a line break after each numbered line

Thanks for the help, I was trying to solve the English issue all night long! :]</description></item><item><title>Re: English Only Field + Tricky Auto population of a field</title><link>https://www.infopathdev.com:443/forums/thread/65800.aspx</link><pubDate>Fri, 08 Apr 2011 09:24:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65800</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65800</wfw:commentRss><description>&lt;p&gt;Hi ES1983 and welcome,&lt;/p&gt;
&lt;p&gt;You can&amp;#39;t restrict language - that would be a cool feature. Microsoft and other companies have auto-language detection algorithms built into Word and other Office products but they typically don&amp;#39;t work well for phrases with less than 5 words. Even if you could auto-detect, it would be hard to restrict. You could throw some kind of validation error when they tabbed out, but you couldn&amp;#39;t prevent them from entering the data and if it had multiple languages in it then what do you do. It&amp;#39;s a hard problem.&lt;/p&gt;
&lt;p&gt;You should try to set the rich text control to allow multiple lines and see if that helps. I&amp;#39;m guessing it won&amp;#39;t and that you will have to strip out the line breaks using the translate function. That&amp;#39;s easy to do and you can set up yoru set value rule to do that at the time in which you set it. At least that problem is solvable. :)&lt;/p&gt;</description></item><item><title>English Only Field + Tricky Auto population of a field</title><link>https://www.infopathdev.com:443/forums/thread/65799.aspx</link><pubDate>Fri, 08 Apr 2011 08:26:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65799</guid><dc:creator>ES1983</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=65799</wfw:commentRss><description>Hey All,
I&amp;#39;m new here, so if this was asked before - i&amp;#39;m sorry, i couldn&amp;#39;t find it...

I have two questions:

1. I want to limit a text field so it could only get data in English, how do I do that?
2. I need to auto populate a Text field (or rich text field - it doesn&amp;#39;t matter) to include a complete text that has lines in it - meaning a few paragraphs of information. I tried using rules - but when i insert that text into the filed value - i can only insert the first line, or - if i erase the &amp;quot;enters&amp;quot; in the text i can insert the whole thing - but it&amp;#39;s not what i need.

how would you guys solve these issues?

Thanks a lot!</description></item></channel></rss>