AnsweredAssumed Answered

WCM form not recognizing field as being filled in

Question asked by jarrett on Apr 7, 2010
Hello,

I am having trouble with a WCM form not recognizing a field having a value in it. The field is composed of check boxes and even with boxes checked the form will not submit because it doesn't think anything is checked.  I got the check boxes working by following this post, http://forums.alfresco.com/en/viewtopic.php?f=30&t=7626 and the example works fine.

XSD excerpt:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
   xmlns:ap="http://www.yankeegroup.com/analyst/ap"
   targetNamespace="http://www.yankeegroup.com/analyst/ap"
   xmlns:alf="http://www.alfresco.org"
   elementFormDefault="qualified">
   
   <!– defines expertise list–>
   <xs:simpleType name="researchCategoryList">
      <xs:restriction base="xs:normalizedString">
        <xs:enumeration value="&lt;a href=&quot;/search.do?searchType=taxonomy&amp;id=6001&quot;&gt;Access Devices&lt;/a&gt;">
         <xs:annotation>
            <xs:appinfo>
               <alf:label>Access Devices</alf:label>
            </xs:appinfo>
         </xs:annotation>
        </xs:enumeration>
……       
      </xs:restriction>
   </xs:simpleType>
   
   <xs:simpleType name="researchCategoryType">
      <xs:list itemType="ap:researchCategoryList"/>
   </xs:simpleType>
   
   <!– defines the form for creating a user profile –>
   <xs:element name="analyst_bio">
      <xs:complexType>
         <xs:sequence>
……
            <xs:element name="analystExpertise">
               <xs:complexType>
                  <xs:sequence>
                     <xs:element name="expertise" type="ap:researchCategoryType" minOccurs="1" maxOccurs="1">
                        <xs:annotation>
                           <xs:appinfo>
                              <alf:appearance>full</alf:appearance>
                           </xs:appinfo>
                        </xs:annotation>
                     </xs:element>
                  </xs:sequence>
               </xs:complexType>
            </xs:element>
……            
         </xs:sequence>
      </xs:complexType>
   </xs:element>   
</xs:schema>

Any info or thoughts would be appreciated

Outcomes