<?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: Concatenating 2 text fields and validating characters</title><link>https://www.infopathdev.com:443/forums/thread/83627.aspx</link><pubDate>Thu, 18 Oct 2012 19:40:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83627</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=83627</wfw:commentRss><description>&lt;p&gt;1) Create a validation rule that goes something like if string-length(concat(firstName, &amp;quot; &amp;quot;, lastName)) &amp;gt; 20 then display error &amp;quot;Cannot be more than 20 characters&amp;quot;&lt;/p&gt;&lt;p&gt;2) Similarly you can also create a rule that checks for individual special characters, but this would be a little more hard coding.&amp;nbsp; Perhaps an easier way is just to check the existence of only letters both upper and lower case.&lt;/p&gt;</description></item><item><title>Concatenating 2 text fields and validating characters</title><link>https://www.infopathdev.com:443/forums/thread/83570.aspx</link><pubDate>Wed, 17 Oct 2012 13:33:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83570</guid><dc:creator>fuznutz04</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=83570</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have been working with infopath for a little while but do not have advanced knowledge of validation.&amp;nbsp; Hopefully someone can help me out here.&lt;/p&gt;&lt;p&gt;Part 1: I have a requirement where I need to concatenate 2 fields (both text, firstname and lastname)&amp;nbsp; I need to validate the sum of these two fields and verify that the sum is not greater than 20 characters.&amp;nbsp; If they are less than 20 characters, then the form can be submitted.&amp;nbsp; If they are 20 or more, then there should be an error to the user.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Part 2:&amp;nbsp; It would be nice to also validate to restrict special characters and spaces in both of these fields.&lt;/p&gt;&lt;p&gt;Does anyone have any ideas on this?&lt;/p&gt;</description></item></channel></rss>