AnsweredAssumed Answered

Web Form Displays Incompletely

Question asked by buck_99 on Oct 30, 2008
Latest reply on Nov 5, 2008 by steventux
I have a web form that works great (in FoxPro and Safari, not in IE7, but that's a different matter), but it only works the first time.  When I finish using the form to create new web content, I can't then go on to create another new content item using the same web form, regardless of what name I give it.  Only the first two fields and the label for the third field appear on the second go-round.  I have to log out and log back in to be able to see the form in its entirety again.

Here are images from the tests:


Here is the schema:
<?xml version="1.0"?>
<xs:schema xmlns:xs=""

  <!– Department –>
  <xs:simpleType name="department">
    <xs:restriction base="xs:normalizedString">
      <xs:enumeration value="Accounts Payable"/>
      <xs:enumeration value="Communications"/>
      <xs:enumeration value="Finance"/>
      <xs:enumeration value="Human Resources"/>
      <xs:enumeration value="IT and Help Desk"/>
      <xs:enumeration value="Payroll"/>
      <xs:enumeration value="Purchasing"/>
      <xs:enumeration value="Records and Archives"/>
      <xs:enumeration value="Travel"/>

  <!– Category –>
  <xs:simpleType name="category">
    <xs:restriction base="xs:normalizedString">
      <xs:enumeration value="Mission"/>
      <xs:enumeration value="Contact"/>
      <xs:enumeration value="Announcement"/>
      <xs:enumeration value="Upcoming Event"/>
  <!– Image Size –>
  <xs:simpleType name="size">
    <xs:restriction base="xs:normalizedString">
      <xs:enumeration value="Small"/>
      <xs:enumeration value="Medium"/>
      <xs:enumeration value="Large"/>
  <!– Image Alignment –>
  <xs:simpleType name="alignment">
    <xs:restriction base="xs:normalizedString">
      <xs:enumeration value="Left"/>
      <xs:enumeration value="Center"/>
      <xs:enumeration value="Right"/>
  <!– News body section:  repeatable element –>
  <xs:complexType name="section">
      <xs:element name="image" type="bc:image" nillable="true"/>
      <xs:element name="text" type="xs:string" minOccurs="1" maxOccurs="1"/>
  <!– Image info:  file location, size, and alignment –>
  <xs:complexType name="image">
        <xs:element name="file" type="xs:normalizedString" minOccurs="1" maxOccurs="1"/>
        <xs:element name="size" type="bc:size" default="Small" minOccurs="1" maxOccurs="1"/>
        <xs:element name="alignment" type="bc:alignment" default="Left" minOccurs="1" maxOccurs="1"/>
  <!– defines the form for creating a news story –>
  <xs:element name="basic-content">
        <xs:element name="title" type="xs:normalizedString" minOccurs="1" maxOccurs="1"/>
        <xs:element name="abstract" type="xs:normalizedString" minOccurs="1" maxOccurs="1"/>
        <xs:element name="date_added" type="xs:date"/> <!– How to put current date as default? –>
        <xs:element name="bodySection" type="bc:section" minOccurs="1" maxOccurs="unbounded"/>
        <xs:element name="keywords" type="xs:normalizedString" minOccurs="0" maxOccurs="1"/>
      <xs:element name="department" type="bc:department" default="HHMI Company-wide"/>
      <xs:element name="category" type="bc:category"/>
      <xs:element name="launch_date" type="xs:date" minOccurs="0" maxOccurs="1"/>
      <xs:element name="expiration_date" type="xs:date" minOccurs="0" maxOccurs="1"/>

Thanks for any help!

- Scott