<?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: Limit the number of decimals a user can enter</title><link>https://www.infopathdev.com:443/forums/thread/77097.aspx</link><pubDate>Tue, 03 Apr 2012 10:56:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77097</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77097</wfw:commentRss><description>Sorry - didn&amp;#39;t see your reply above. Anyway, hope you&amp;#39;ll find a workaround!</description></item><item><title>Re: Limit the number of decimals a user can enter</title><link>https://www.infopathdev.com:443/forums/thread/77095.aspx</link><pubDate>Tue, 03 Apr 2012 10:48:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77095</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77095.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77095</wfw:commentRss><description>I see - can you try Jimmy&amp;#39;s suggestion above? Thanks!</description></item><item><title>Re: Limit the number of decimals a user can enter</title><link>https://www.infopathdev.com:443/forums/thread/77094.aspx</link><pubDate>Tue, 03 Apr 2012 10:47:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77094</guid><dc:creator>eliasen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77094.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77094</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks for the idea - it won&amp;#39;t help me though. The requirement is simply not allow the user to enter the third decimal and not provide an error if she should do so.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think it is doable...&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Limit the number of decimals a user can enter</title><link>https://www.infopathdev.com:443/forums/thread/77093.aspx</link><pubDate>Tue, 03 Apr 2012 10:44:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77093</guid><dc:creator>eliasen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77093.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77093</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Jo-Anne Alfafara:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Sorry I&amp;#39;m a little confused when you said &amp;quot;I need the data source to only contain two decimals and not just the view of the datasource&amp;quot;.&amp;nbsp;The value of your text box in the view&amp;nbsp;should be the same thing&amp;nbsp;stored as value in your data source, no? &lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Hi, and thank you for your answer.&lt;/p&gt;
&lt;p&gt;No, the value shown in the text box isn&amp;#39;t the same as the value in the data source. The value in the data source can be 23.456 but I can choose in the properties for the Textbox to only show to decimals.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Limit the number of decimals a user can enter</title><link>https://www.infopathdev.com:443/forums/thread/77087.aspx</link><pubDate>Tue, 03 Apr 2012 10:03:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77087</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77087</wfw:commentRss><description>Nice Jimmy!</description></item><item><title>Re: Limit the number of decimals a user can enter</title><link>https://www.infopathdev.com:443/forums/thread/77086.aspx</link><pubDate>Tue, 03 Apr 2012 09:56:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77086</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77086</wfw:commentRss><description>&lt;p&gt;Hello eliasen,&lt;/p&gt;
&lt;p&gt;The best option I can think of is to place conditional validation on the fields, so that the user will get a validation error if they enter more than 2 decimal places.&amp;nbsp; Something like &lt;strong&gt;string-length(substring-after(., &amp;#39;.&amp;#39;)) &amp;gt; 2&lt;/strong&gt; should probably do the trick.&amp;nbsp; Would that work for you?&lt;/p&gt;</description></item><item><title>Re: Limit the number of decimals a user can enter</title><link>https://www.infopathdev.com:443/forums/thread/77082.aspx</link><pubDate>Tue, 03 Apr 2012 09:38:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77082</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77082</wfw:commentRss><description>&lt;p&gt;Hi eliasen,&lt;/p&gt;&lt;p&gt;Sorry I&amp;#39;m a little confused when you said &amp;quot;I need the data source to only contain two decimals and not just the view of the datasource&amp;quot;.&amp;nbsp;The value of your text box in the view&amp;nbsp;should be the same thing&amp;nbsp;stored as value in your data source, no? &lt;/p&gt;</description></item><item><title>Limit the number of decimals a user can enter</title><link>https://www.infopathdev.com:443/forums/thread/77078.aspx</link><pubDate>Tue, 03 Apr 2012 08:44:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77078</guid><dc:creator>eliasen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77078.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77078</wfw:commentRss><description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;&amp;nbsp;InfoPath 2007 running on Forms Server 2007.&lt;/p&gt;
&lt;p&gt;I know how to use the formatting options of a TextBox in order to only show for instance 2 decimals. But I need the data source to only contain two decimals and not just the view of the datasource. I can then use the function &amp;quot;round&amp;quot; in a rule to round to two decimals, but my customer prefers it if the user simpyl cannot enter more than two decimals&amp;nbsp;in the textbox. The user will then have to round herself in case of a number with 3 decimals.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is there anyway I can limit the number of decimals entered to only 2?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>