<?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: Fill empty spaces in text field with dashes</title><link>https://www.infopathdev.com:443/forums/thread/56406.aspx</link><pubDate>Wed, 30 Jun 2010 17:31:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56406</guid><dc:creator>mpeters</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56406.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56406</wfw:commentRss><description>&lt;p&gt;Yep!&amp;nbsp; The reason for the dashes is that this field is concat&amp;#39;d with&amp;nbsp;additional fields to form an ID, which needs to always be&amp;nbsp;a certain&amp;nbsp;length.&lt;/p&gt;</description></item><item><title>Re: Fill empty spaces in text field with dashes</title><link>https://www.infopathdev.com:443/forums/thread/56404.aspx</link><pubDate>Wed, 30 Jun 2010 16:22:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56404</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56404.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56404</wfw:commentRss><description>&lt;p&gt;Smart solution! So, you&amp;#39;ll concat the field with a string of 6 dashes, then use substring to return the first 6 characters.... Thanks for posting your answer, in case someone else comes looking for something like this.&lt;/p&gt;</description></item><item><title>Re: Fill empty spaces in text field with dashes</title><link>https://www.infopathdev.com:443/forums/thread/56383.aspx</link><pubDate>Wed, 30 Jun 2010 15:25:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56383</guid><dc:creator>mpeters</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56383.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56383</wfw:commentRss><description>&lt;p&gt;I got it!&amp;nbsp; I am just going to concat a string of dashes onto the field value and take a substring of that.&lt;/p&gt;</description></item><item><title>Fill empty spaces in text field with dashes</title><link>https://www.infopathdev.com:443/forums/thread/56369.aspx</link><pubDate>Wed, 30 Jun 2010 14:53:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56369</guid><dc:creator>mpeters</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56369.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56369</wfw:commentRss><description>&lt;p&gt;I have a requirement to have a six digit field&amp;#39;s unused available spaces filled with dashes.&lt;/p&gt;
&lt;p&gt;example1:&amp;nbsp; wheel-&lt;/p&gt;
&lt;p&gt;examle 2:&amp;nbsp; car---&lt;/p&gt;
&lt;p&gt;If six characters are entered, then nothing needs to be done.&amp;nbsp; I was trying to figure a way to do this by using string-length, then set the fields value by concatinating dashes onto the field&amp;#39;s value,but I haven&amp;#39;t come up with a way yet.&amp;nbsp; Any suggestions???&lt;/p&gt;</description></item></channel></rss>