<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating element in XML Schema in Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/12350.aspx</link><pubDate>Fri, 26 Jan 2007 15:50:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12350</guid><dc:creator>tfsjohan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12350.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12350</wfw:commentRss><description>Thank you for your reply, but I think you misunderstood me or that I didn't explain it good enough. :) &lt;br /&gt;&lt;br /&gt;What I would like to do is have say 10 predefined questions in the form. The users should not be able to add their own questions, just answer the existning ones. &lt;br /&gt;&lt;br /&gt;What I did with the template.xml was to add all my questions. Then I made a few changes to the view1.xslt so that all the questions was displayed. This works just fine in preview mode, but in design mode I get some errors on the textboxes. The error is "The control cannot store data correctly", but it works just fine in preview mode. Data is stored just the way I want.&lt;br /&gt;&lt;br /&gt;Normally I would not care about the errors in design time, but since I aim to publish it to a forms server I need to get rid of the errors. &lt;br /&gt;&lt;br /&gt;If it helps I could put the form on a web site where you can look at it and see the schema, template.xml and view1.xslt changes.&lt;br /&gt;&lt;br /&gt;// Johan</description></item><item><title>Re: Repeating element in XML Schema in Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/12349.aspx</link><pubDate>Fri, 26 Jan 2007 15:29:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12349</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12349.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12349</wfw:commentRss><description>Hello Johan and welcome to forums,&lt;br /&gt;         You can make Question (group) as repeating and set the maxoccurs of that repeating group to X in Schema (.xsd file). This will allow you to enter only X Questions in InfoPath form.&lt;br /&gt;&lt;br /&gt;Hope this helps!</description></item><item><title>Repeating element in XML Schema in Infopath form</title><link>https://www.infopathdev.com:443/forums/thread/12150.aspx</link><pubDate>Fri, 26 Jan 2007 13:47:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12150</guid><dc:creator>tfsjohan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12150</wfw:commentRss><description>I have a XML Schema with a repeating section. The schema looks something like this:&lt;br /&gt;&lt;br /&gt;myFields&lt;br /&gt;    Name (element)&lt;br /&gt;    Email (element)&lt;br /&gt;    Question (group)&lt;br /&gt;        QuestionId (attribute)&lt;br /&gt;        QuestionText (element)&lt;br /&gt;        Answer (element)&lt;br /&gt;&lt;br /&gt;I would like to create a InfoPath forms that displays X questions, but stores the data based on this schema. &lt;br /&gt;&lt;br /&gt;This is just fine when I edit the view my self and edit template.xml and enter all my questions. It works just fine in preview mode, but when I have the form in design mode in InfoPath it complains about errors in the fields. The design checker in InfoPath 2007 also marks all my questions as errors.&lt;br /&gt;&lt;br /&gt;How can I create a form with X questions without creating a totally worthless schema? &lt;br /&gt;&lt;br /&gt;Please help! &lt;br /&gt;&lt;br /&gt;// Johan</description></item></channel></rss>