<?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: Validation help</title><link>https://www.infopathdev.com:443/forums/thread/37919.aspx</link><pubDate>Fri, 30 Jan 2009 23:45:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37919</guid><dc:creator>smods</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37919</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sorry to bother you Jimmy but can you help?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Validation help</title><link>https://www.infopathdev.com:443/forums/thread/37643.aspx</link><pubDate>Mon, 26 Jan 2009 09:27:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37643</guid><dc:creator>smods</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37643.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37643</wfw:commentRss><description>&lt;p&gt;Jimmy you are a genius!&amp;nbsp; Thanks :D Can you also tweak the code so that numbers and apostrophes are allowed?&lt;/p&gt;
&lt;p&gt;Can you also tell me what I need to set in other fields so that each new word starts with a capital letter?&amp;nbsp; Similar to the proper function in Excel.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Cheers&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;</description></item><item><title>Re: Validation help</title><link>https://www.infopathdev.com:443/forums/thread/37617.aspx</link><pubDate>Sat, 24 Jan 2009 01:11:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37617</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37617.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37617</wfw:commentRss><description>&lt;p&gt;How&amp;#39;s this:&lt;/p&gt;
&lt;p&gt;(\p{L}(\-\p{L})?)+\.(\p{L}(\-\p{L})?)+@((hotmail|live)\.co\.uk|hotmail\.com)&lt;/p&gt;
&lt;p&gt;This one requires a first and last name separated by a period, where the first and last name can optionally contain hyphens, but not two hyphens in a row, and no hyphen at the beginning or end of a name.&lt;/p&gt;</description></item><item><title>Re: Validation help</title><link>https://www.infopathdev.com:443/forums/thread/37613.aspx</link><pubDate>Fri, 23 Jan 2009 22:30:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37613</guid><dc:creator>smods</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37613.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37613</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Jimmy, works a treat.&amp;nbsp; How would the code change to make a decimal point mandatory?&lt;/p&gt;&lt;p&gt;&amp;nbsp;So I want&lt;/p&gt;&lt;p&gt;name&lt;b&gt;.&lt;/b&gt;surname@live/hotmail.co.uk/hotmail.com &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Validation help</title><link>https://www.infopathdev.com:443/forums/thread/37580.aspx</link><pubDate>Fri, 23 Jan 2009 11:52:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37580</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37580.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37580</wfw:commentRss><description>&lt;p&gt;This expression should do the trick:&lt;/p&gt;
&lt;p&gt;(\p{L}+([_\-\.]|\d)*)+@((hotmail|live)\.co\.uk|hotmail\.com)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Validation help</title><link>https://www.infopathdev.com:443/forums/thread/37579.aspx</link><pubDate>Fri, 23 Jan 2009 11:50:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37579</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37579.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37579</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try the following expression in the data validation of the email text box.&lt;/p&gt;
&lt;p&gt;not(xdUtil:Match(string(.), &amp;quot;.+@hotmail.com&amp;quot;))&amp;nbsp; and not(xdUtil:Match(string(.), &amp;quot;.+@hotmail.co.uk&amp;quot;)) and not(xdUtil:Match(string(.), &amp;quot;.+@live.co.uk&amp;quot;))&lt;/p&gt;</description></item><item><title>Re: Validation help</title><link>https://www.infopathdev.com:443/forums/thread/37575.aspx</link><pubDate>Fri, 23 Jan 2009 10:07:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37575</guid><dc:creator>smods</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37575.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37575</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been messign around with this but cannot get this to work.&amp;nbsp; Any ideas? &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Validation help</title><link>https://www.infopathdev.com:443/forums/thread/37030.aspx</link><pubDate>Tue, 13 Jan 2009 15:05:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37030</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37030.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37030</wfw:commentRss><description>&lt;p&gt;In the past I have used the following pattern for emails. It allows dots in the prefix. Perhaps, when combined with your pattern for hotmail/live in the suffix, you can come up with the desired result. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;(\p{L}+_*-*\p{L}*\d*\.?)+@(\p{L}+-*\p{L}*\.?)+&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>Validation help</title><link>https://www.infopathdev.com:443/forums/thread/37014.aspx</link><pubDate>Tue, 13 Jan 2009 12:48:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37014</guid><dc:creator>smods</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37014.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=37014</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have been messing with the data validation on my form and I am not having much luck!&lt;/p&gt;
&lt;p&gt;I want my e-mail address field to only accept certain domains.&lt;/p&gt;
&lt;p&gt;So I want to say if last half of the e-mail address does not end &amp;quot;@hotmail.com&amp;quot;, &amp;quot;@hotmail.co.uk&amp;quot; or &amp;quot;@live.co.uk&amp;quot; then it&amp;#39;s not a valid e-mail address.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I did this in the validation and it wouldn&amp;#39;t accept it because of the prefix.&amp;nbsp; Although the field contained &amp;quot;@hotmail.co.uk&amp;quot; it didn&amp;#39;t like the text prioir to it&lt;/p&gt;
&lt;p&gt;(i.e. &lt;a href="mailto:john.smith@hotmail.co.uk"&gt;john.smith@hotmail.co.uk&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;How do I overcome this?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;</description></item></channel></rss>