<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re:  Powerful Declarative Logic: Phone Number Parsing</title><link>https://www.infopathdev.com:443/forums/thread/40248.aspx</link><pubDate>Thu, 02 Apr 2009 12:23:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40248</guid><dc:creator>Lotti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40248.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=40248</wfw:commentRss><description>&lt;p&gt;Please help in infopath &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Following expression is not valid &lt;/p&gt;
&lt;p&gt;Expected value type &lt;/p&gt;
&lt;p&gt;&lt;em&gt;string-length(translate(translate(., &amp;quot;()- 0123456789&amp;quot;, &amp;quot;&amp;quot;)) = 0&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Re: Data Validation Not working In Browser Form</title><link>https://www.infopathdev.com:443/forums/thread/37268.aspx</link><pubDate>Sat, 17 Jan 2009 07:00:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37268</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37268.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=37268</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Use he following expression to validate the text box to fulfill your requirement.&lt;/p&gt;
&lt;p&gt;not(xdUtil:Match(string(.), &amp;quot;\d*&amp;quot;)) and not(xdUtil:Match(string(.), &amp;quot;\d*\.25&amp;quot;)) and not(xdUtil:Match(string(.), &amp;quot;\d*\.0&amp;quot;)) and not(xdUtil:Match(string(.), &amp;quot;\d*\.00&amp;quot;)) and not(xdUtil:Match(string(.), &amp;quot;\d*\.5&amp;quot;)) and not(xdUtil:Match(string(.), &amp;quot;\d*\.75&amp;quot;))&lt;/p&gt;</description></item><item><title>Re: Data Validation Not working In Browser Form</title><link>https://www.infopathdev.com:443/forums/thread/37241.aspx</link><pubDate>Fri, 16 Jan 2009 17:47:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37241</guid><dc:creator>aggiejustin03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37241.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=37241</wfw:commentRss><description>&lt;p&gt;Okay, that does work.&amp;nbsp; When previewing in the browser it works well and if I enter an invalid sequence of numbers it throws the red box around the control.&amp;nbsp; However, once I publish this as a web form to MOSS it no longer places the red box around the error.&amp;nbsp; Is the by design in a browser enabled form or is something else going on?&amp;nbsp; It would be nice to have the red box since that is very easy to recognize as an input error for&amp;nbsp;a user with basic computer skills or one without working knowledge of how the form was designed.&lt;/p&gt;</description></item><item><title>Re: Data Validation Not working In Browser Form</title><link>https://www.infopathdev.com:443/forums/thread/37122.aspx</link><pubDate>Thu, 15 Jan 2009 05:28:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37122</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37122.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=37122</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late. Try the following expression.&lt;/p&gt;
&lt;p&gt;\d*\.0|\d*\.00|\d*\.25|\d*\.5|\d*\.50|\d*\.75|\d*&lt;/p&gt;
&lt;p&gt;Hope it will solve your problem.&lt;/p&gt;</description></item><item><title>Re: Data Validation Not working In Browser Form</title><link>https://www.infopathdev.com:443/forums/thread/36950.aspx</link><pubDate>Mon, 12 Jan 2009 17:32:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36950</guid><dc:creator>aggiejustin03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36950.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36950</wfw:commentRss><description>&lt;p&gt;I have it set to auto as well as having the post back to always.&amp;nbsp; However it will not allow a user to enter a whole number.&amp;nbsp; If you just enter &amp;quot;2&amp;quot; or any other number it is requiring that you enter &amp;quot;2.0&amp;quot; or &amp;quot;2.00&amp;quot;.&amp;nbsp; If anyone knows how to require quarter hour increments while still allowing a whole number to pass through,&amp;nbsp;please let me know what the custom pattern is to allow this functionality.&lt;/p&gt;</description></item><item><title>Re: Data Validation Not working In Browser Form</title><link>https://www.infopathdev.com:443/forums/thread/36492.aspx</link><pubDate>Fri, 02 Jan 2009 05:06:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36492</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36492.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36492</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have tried this by setting the format to auto and its working fine for me. Once try by setting the post back settings to Always in the Browser forms tab of text box properties.&lt;/p&gt;</description></item><item><title>Data Validation Not working In Browser Form</title><link>https://www.infopathdev.com:443/forums/thread/36483.aspx</link><pubDate>Wed, 31 Dec 2008 22:41:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36483</guid><dc:creator>aggiejustin03</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36483.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36483</wfw:commentRss><description>&lt;p&gt;I have a per diem expense reimbursement form that has a text box for hours which is used in a calculation with a rate field to determine how much is owed to the individual.&amp;nbsp; I&amp;#39;m trying to restrict the text box to accept hours in quarter hour increments (i.e. 2.25, 2.5, 2.75, 3).&amp;nbsp; I am able to restrict it by using the following custom pattern:&lt;/p&gt;
&lt;p&gt;\d*\.0|\d*\.00|\d*\.25|\d*\.5|\d*\.50|\d*\.75&lt;/p&gt;
&lt;p&gt;&amp;nbsp;However when you enter a whole number such as 2, 3, etc. it throws a validation error.&amp;nbsp; When you enter &amp;quot;2.0&amp;quot; its fine.&amp;nbsp; Also if you enter 2 it will append 2.00 (due to format being set to 2 decimals)&amp;nbsp;to it but still gets a validation error.&amp;nbsp; I have tried setting the decimal value to auto but still have the same problem.&amp;nbsp; I also tried to add \d* without a decimal but that opens it up to any and all digits/decimal combinations.&amp;nbsp; Any help with telling me how I can achieve this would be greatly appreciated!&amp;nbsp; I&amp;#39;m about to pull my hair out!&lt;/p&gt;</description></item></channel></rss>