<?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: Change a control to &amp;quot;cannot be blank&amp;quot; at runtime?</title><link>https://www.infopathdev.com:443/forums/thread/6273.aspx</link><pubDate>Mon, 25 Oct 2004 21:17:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6273</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6273.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6273</wfw:commentRss><description>What you are looking for is custom data validation.&lt;br /&gt;&lt;br /&gt;In the Text Box Properties dialog box, click Data Validation. Here you can create conditions such that: If the text box is blank, and the drop-down list is not X, then provide an error which says "Box must be filled in".&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Change a control to "cannot be blank" at runtime?</title><link>https://www.infopathdev.com:443/forums/thread/4480.aspx</link><pubDate>Mon, 25 Oct 2004 08:33:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4480</guid><dc:creator>kastigeer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4480.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4480</wfw:commentRss><description>I'm looking for a way to programatically (any language) set a control/Data source node (text box to be specific) to be "cannot be blank" at runtime.&lt;br /&gt;&lt;br /&gt;There are a number of field that need to be filled in, but each one is conditional on a drop down list, and if a non-default value in the drop down-list is selected then a value must be entered in the associated text box.&lt;br /&gt;&lt;br /&gt;Any suggestions on this would be much appreciated!&lt;br /&gt;&lt;br /&gt;thanks&lt;br /&gt;Barry</description></item></channel></rss>