We have a complex form build on top of a set of xsd files.
The form is used as the association and initiation form of a custom visual studio workflow.
Everything was working as expected on the 2007 platform.
Now, the platform has been migrated to the 2010 version. But the boolean field stopped to works. In fact, the HTML dom of the generated form has explicitely the disabled attribute on the generated checkbox :
<SPAN style="WHITE-SPACE: nowrap" class="a1_8F0mPmkZMpYOqfxX_0 j_8F0mPmkZMpYOqfxX_0 a2_8F0mPmkZMpYOqfxX_0" onmouseover="return LeafControl.OnWrappingSpanMouseOver(this, event);" onmouseout="return LeafControl.OnWrappingSpanMouseOut(this, event);"> <INPUT disabled onblur="return (CheckBox.OnBlur(this, event));" id=ctl00_PlaceHolderMain_XmlFormControl_V1_I1_C5 class="a0_8F0mPmkZMpYOqfxX_0 m_8F0mPmkZMpYOqfxX_0" onfocus="return (CheckBox.OnFocus(this, event));" title="" tabIndex=0 value="" type=checkbox OriginalId="V1_I1_C5" FormId="ctl00_PlaceHolderMain_XmlFormControl" ViewDataNode="6" direction="ltr" wrapped="true" ScriptClass="CheckBox"> </SPAN>
What can cause this boolean field to be disabled???
FYI, the boolean field is part of an XSD schema :
<xsd:schema targetNamespace="http://schemas.corporate.com/moss/common/shortwfschema" xmlns:shortwf="http://schemas.corporate.com/moss/common/shortwfschema" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="Shortwf" type="xsd:boolean"> </xsd:element> </xsd:schema>
It then has been imported in the form by using "Add new"-->"Import complete xml schema" on the root of the form schema.
This resulted in the apparition of the field
shortwf:Shortwf in my main form.
Then I've added a simple checkbox, bound to this field (I've also try with other kind of controls, with no success).
I've also tried to create a section, bound to this field, but the section does not even appears.