<?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: data validation</title><link>https://www.infopathdev.com:443/forums/thread/2473.aspx</link><pubDate>Tue, 30 May 2006 21:50:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2473</guid><dc:creator>WickedShark</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2473.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2473</wfw:commentRss><description>Hi guys thanks I can use both of these answers at different points of my forms</description></item><item><title>Re: data validation</title><link>https://www.infopathdev.com:443/forums/thread/2472.aspx</link><pubDate>Tue, 30 May 2006 17:00:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2472</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2472.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2472</wfw:commentRss><description>Hi WickedShark,&lt;br /&gt;&lt;br /&gt;Here is one way you can do this:&lt;br /&gt;&lt;br /&gt;1) hide the text box for comments if the user selects anything other than no (right click on text box field and select "conditional formatting".  You can then hide the control using a test on the value of your drop down list box value)&lt;br /&gt;&lt;br /&gt;2) make sure that the value of the the text box cannot be left blank by the user: right click on text box field, choose text box properties and under "Validation &amp; Rules" choose "cannot be blank").&lt;br /&gt;&lt;br /&gt;4) Make a rule on the drop down list box to set the value of the text box comments depending upon the selection.  If the user selects yes/na you will need to add some filler text into that text box so that the user won't be prompted to enter text since the text box field can't be submitted with a blank value (I suggest putting some text in there that will indicate what selection the user chose so you know this message is from the form and not something the user put in there).  Also it would be a good idea to add a rule that when the user selects "No" that the value of the text box for comments gets cleared out (fileds value = "")  This will help with your overall validation of that field.&lt;br /&gt;&lt;br /&gt;Make sense?  Post back if this is not clear enough, it's a pretty simple process.</description></item><item><title>Re: data validation</title><link>https://www.infopathdev.com:443/forums/thread/2471.aspx</link><pubDate>Tue, 30 May 2006 16:48:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2471</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2471.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2471</wfw:commentRss><description>Hi Donovan,&lt;br /&gt;&lt;br /&gt;I think the following steps will help you:&lt;br /&gt;&lt;br /&gt;1. Double-click the comment node in the data source task pane.&lt;br /&gt;2. Click the Data Validation tab.&lt;br /&gt;3. Click Add, and then add this data validation:&lt;br /&gt;&lt;br /&gt;[_DropDown_List_] [is equal to] [No] [ and ]&lt;br /&gt;[_Name_of_comment_Node_] [is blank] &lt;br /&gt;&lt;br /&gt;4. Type a message into the two boxes below, and then click OK until all dialog boxes are closed.&lt;br /&gt;&lt;br /&gt;I hope this helps!</description></item><item><title>data validation</title><link>https://www.infopathdev.com:443/forums/thread/1320.aspx</link><pubDate>Tue, 30 May 2006 15:59:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1320</guid><dc:creator>WickedShark</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1320.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1320</wfw:commentRss><description>Hi&lt;br /&gt;&lt;br /&gt;I need help with data validation. I have a list of simple yes/no/na drop down boxes for questions. I want valdiation to require a comment if the user selects No from the drop down list. Thre is a text box for comments next to the drop down list. Can someone help me out. &lt;br /&gt;&lt;br /&gt;Thanks</description></item></channel></rss>