<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Optional field in web form in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/optional-field-in-web-form/m-p/137961#M96678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, minOccur='0' should ensure that the element is indeed optional.&amp;nbsp; If you are a subscribing customer, please open a support case and provide your XSDs so that our support engineers can test it out to see what's happening.&amp;nbsp; Otherwise, you seem to be doing the right thing.&amp;nbsp;&amp;nbsp; This is how optional elements are declared.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2007 20:03:46 GMT</pubDate>
    <dc:creator>kvc</dc:creator>
    <dc:date>2007-11-23T20:03:46Z</dc:date>
    <item>
      <title>Optional field in web form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/optional-field-in-web-form/m-p/137960#M96677</link>
      <description>How can I configure a specific element of a webform to be optional? I've tried to set the minOccurs and maxOccurs attributes to 0 and 1, respectively, but it doesn't work.</description>
      <pubDate>Fri, 02 Nov 2007 02:20:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/optional-field-in-web-form/m-p/137960#M96677</guid>
      <dc:creator>grewcg</dc:creator>
      <dc:date>2007-11-02T02:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Optional field in web form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/optional-field-in-web-form/m-p/137961#M96678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, minOccur='0' should ensure that the element is indeed optional.&amp;nbsp; If you are a subscribing customer, please open a support case and provide your XSDs so that our support engineers can test it out to see what's happening.&amp;nbsp; Otherwise, you seem to be doing the right thing.&amp;nbsp;&amp;nbsp; This is how optional elements are declared.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2007 20:03:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/optional-field-in-web-form/m-p/137961#M96678</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-11-23T20:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Optional field in web form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/optional-field-in-web-form/m-p/137962#M96679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I have noticed the same problem using the 2.1.0E and have yet to be able to find a suitable resolution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the relevant line in my XSD file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;xs:element minOccurs="0" maxOccurs="1" name="contextual_giving"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also tried to add the nillable feature, and have yet to see any positive results:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;xs:element minOccurs="0" maxOccurs="1" nillable="true" name="contextual_giving"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;finally, i ave also experimented changing the cardinality of the contextual_giving child elements so that they reflect the cardinality of this element and again had no positive results.&amp;nbsp; In fact, the only way that I have been able to create optional elements in the alfresco WCM is to set the minOcurs="0" and the maxOccurs="2".&amp;nbsp; It seems as though alfresco is having issues with optional elements with a cardinality of 0-1 because everything functions as expected if the minOccurs=0 and the maxOccurs= 2 (or anything greater than 1).&amp;nbsp; However, this is not desirable because it allows for extraneous data to be inserted into the site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has there been any progress on this issue thus far?&amp;nbsp; As this is a significant issue for the project I am currently building for a client, I have begun to get a hold of one of my contacts within alfresco to see if there is any sort of resolution in existence, or due to come out in the near future.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2007 16:28:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/optional-field-in-web-form/m-p/137962#M96679</guid>
      <dc:creator>bigbaddev</dc:creator>
      <dc:date>2007-12-03T16:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Optional field in web form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/optional-field-in-web-form/m-p/137963#M96680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chris:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We do not have a JIRA issue filed for this; please file and we will look into.&amp;nbsp; Also, if this is needed for an important customer project, I recommend opening a support ticket.&amp;nbsp; That will help you track and escalate this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Dec 2007 22:48:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/optional-field-in-web-form/m-p/137963#M96680</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-12-08T22:48:17Z</dc:date>
    </item>
  </channel>
</rss>

