<?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: nillable=false equals required?</title><link>https://www.infopathdev.com:443/forums/thread/3223.aspx</link><pubDate>Thu, 28 Sep 2006 20:05:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3223</guid><dc:creator>jeverton3</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3223</wfw:commentRss><description>I agree in general that I shouldn't be digging around in the schema much, but I have to say, if I have 20 elements I want to make read-only, I would rather do it in the schema (possibly by defining and using a type) than add the same rule 20 times manually.&lt;br /&gt;&lt;br /&gt;Is there any shortcut for adding the same rule to a bunch of fields?  All the mousing and lack of rule reuse was what was turning me away from this approach.</description></item><item><title>Re: nillable=false equals required?</title><link>https://www.infopathdev.com:443/forums/thread/3222.aspx</link><pubDate>Thu, 28 Sep 2006 19:32:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3222</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3222.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3222</wfw:commentRss><description>You should be able to do this from the designer. Add custom data validation so that if the length of the current field is equal to zero, then it is invalid. I don't think you should be digging around in the XSD unless you absolutely have to.</description></item><item><title>nillable=false equals required?</title><link>https://www.infopathdev.com:443/forums/thread/1572.aspx</link><pubDate>Thu, 28 Sep 2006 15:39:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1572</guid><dc:creator>jeverton3</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1572.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1572</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;I've been reading a lot about the difference between not required and optional, and I thought I understood it, but my form seems to disagree.&lt;br /&gt;&lt;br /&gt;I have some elements that are strings that I would like to make required (meaning they better be filled) from the schema if possible.  I have this in my schema:&lt;br /&gt;&lt;br /&gt;&amp;lt;xs:element name="someName" type="xs:string" nillable="false"&amp;gt;&lt;br /&gt;&lt;br /&gt;The way I understand it, string-type elements are not-required by default, so I expected to need to add nillable=false to make them required.  I added that (as seen above), and they are still "not required" (i.e., no red * appears when they are left blank).&lt;br /&gt;&lt;br /&gt;Did I misunderstand this article?  Why can't I make a string element required from the .xsd?&lt;br /&gt;&lt;br /&gt;thanks,&lt;br /&gt;&lt;br /&gt;Joe</description></item></channel></rss>