<?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: Is it possible to retain spaces at the beginning of a field?</title><link>https://www.infopathdev.com:443/forums/thread/49198.aspx</link><pubDate>Wed, 18 Nov 2009 15:42:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49198</guid><dc:creator>Samuel Hagaman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49198.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49198</wfw:commentRss><description>&lt;p&gt;You are correct!&amp;nbsp; The spaces are there even though they aren&amp;#39;t displayed in the field&amp;#39;s text box.&amp;nbsp;&amp;nbsp;When i finally tracked it down the&amp;nbsp;problem with the web service actually had to do with a security logon issue to the SQL database.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the help! :)&lt;/p&gt;</description></item><item><title>Re: Is it possible to retain spaces at the beginning of a field?</title><link>https://www.infopathdev.com:443/forums/thread/49152.aspx</link><pubDate>Tue, 17 Nov 2009 15:04:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49152</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49152</wfw:commentRss><description>&lt;p&gt;Are you sure that the space is actually being removed?&amp;nbsp; If I type a value with spaces at the beginning in an InfoPath field and submit it to a web service, the spaces at the beginning of the value disappear in the form&amp;#39;s text box, but they are still transmitted to the web service.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you have verified that the spaces actually are being stripped away, you could try using a rule in the form to append spaces at the beginning [concat(&amp;#39; &amp;#39;, /my:myFields/my:field), or something like that.&amp;nbsp; This would probably be a good practice anyway, as it doesn&amp;#39;t require the user to enter the space into the form manually.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Is it possible to retain spaces at the beginning of a field?</title><link>https://www.infopathdev.com:443/forums/thread/49148.aspx</link><pubDate>Tue, 17 Nov 2009 13:47:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49148</guid><dc:creator>Samuel Hagaman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49148.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=49148</wfw:commentRss><description>&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Does anyone know if it&amp;#39;s possible to retain spaces at the beginning of a field?&amp;nbsp; I am trying to submit a field to a web service as a parameter but the field needs to be in the format of a space followed by a two digit number (i.e. - &amp;quot; 41&amp;quot;). &amp;nbsp;This is necessary because that&amp;#39;s the way the data is stored in the SQL&amp;nbsp;database and if at all possible I&amp;nbsp;don&amp;#39;t want to&amp;nbsp;write&amp;nbsp;a web service that concats a space and the two digits and then submits that as the parameter.&amp;nbsp; In InfoPath if I set a field to &amp;quot; 41&amp;quot;&amp;nbsp;the space is automatically removed and&amp;nbsp;I am left with only&amp;nbsp;&amp;quot;41&amp;quot;.&amp;nbsp; I know that in Excel you are able to keep the spaces in a cell by formatting the cell as text or entering an apostrophe in front of the string but this doesn&amp;#39;t seem to work in InfoPath.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Thanks in advance for any help,&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Sam&lt;/span&gt;</description></item></channel></rss>