<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: if statement in Default value field</title><link>https://www.infopathdev.com:443/forums/thread/15014.aspx</link><pubDate>Sat, 13 Jan 2007 07:24:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15014</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15014.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15014</wfw:commentRss><description>Eval and XPath should support conditions but probably requires studying up a bit. Check out the XPath references under resources. Also, look at the Eval function.&lt;br /&gt;</description></item><item><title>if statement in Default value field</title><link>https://www.infopathdev.com:443/forums/thread/13028.aspx</link><pubDate>Fri, 12 Jan 2007 14:58:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13028</guid><dc:creator>jweir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13028.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13028</wfw:commentRss><description>Hello all &lt;br /&gt;&lt;br /&gt;Is there a way to put a if statement or a check in default value field&lt;br /&gt;&lt;br /&gt;example&lt;br /&gt;&lt;br /&gt;if IsNew then @E-mail_Address[contains(@Modified_By, concat(@Last_Name, " ", @First_Name))]&lt;br /&gt;&lt;br /&gt;something like that&lt;br /&gt;&lt;br /&gt;Jim &lt;br /&gt;</description></item></channel></rss>