AnsweredAssumed Answered

Webforms prompting for required fields though all filled out

Question asked by bjornl on Jun 19, 2007
Latest reply on Jun 29, 2007 by kvc
Has anyone else experienced the message "Please provide values for all required fields" on the generated web forms, even though all fields have clearly been filled out?

I have this problem on multiple forms of mine, but only on one of my systems. When I set up another alfresco I no longer have this problem. So from what I can see there is either some state that gets stored in some way, or some difference between the two platforms I run the two setups on.

One is Ubuntu, on which it works fine. The other one is a Fedora system.

There is nothing about this in the error log. I attach the xsd definition for one form that has displayed this behaviour below.



  <xs:complexType name="description">
    <xs:sequence>
      <xs:element name="newsTitle" type="xs:normalizedString">
        <xs:annotation><xs:appinfo><alf:label>News title</alf:label></xs:appinfo></xs:annotation>
      </xs:element>
      <xs:element name="newsContent" type="xs:string">
        <xs:annotation><xs:appinfo><alf:label>News content</alf:label></xs:appinfo></xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:element name="news">

    <xs:complexType>

      <xs:sequence>
       
        <xs:element type="xs:date" name="createdDate">
          <xs:annotation><xs:appinfo><alf:label>Created Date</alf:label></xs:appinfo></xs:annotation>
        </xs:element>

        <xs:element name="descriptionList">
          <xs:annotation><xs:appinfo><alf:label>News Description</alf:label></xs:appinfo></xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="description_en" type="myNS:description">
                <xs:annotation><xs:appinfo><alf:label>English</alf:label></xs:appinfo></xs:annotation>
              </xs:element>
              <xs:element name="description_de" type="myNS:description">
                <xs:annotation><xs:appinfo><alf:label>German</alf:label></xs:appinfo></xs:annotation>
              </xs:element>
              <xs:element name="description_fr" type="myNS:description">
                <xs:annotation><xs:appinfo><alf:label>French</alf:label></xs:appinfo></xs:annotation>
              </xs:element>
              <xs:element name="description_it" type="myNS:description">
                <xs:annotation><xs:appinfo><alf:label>Italian</alf:label></xs:appinfo></xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>

      </xs:sequence>

    </xs:complexType>

  </xs:element>

Outcomes