Hello,
I'm getting an error whenever I try to save a date to a document.
I have this a date field
<xp:td>
<xp:inputText id="dateFrom">
<xp:dateTimeHelper id="dateTimeHelper1"></xp:dateTimeHelper>
<xp:this.converter>
<xp:convertDateTime type="date"></xp:convertDateTime>
</xp:this.converter>
</xp:inputText>
</xp:td>
and this create button
<xp:button value="Create" id="button1">
<xp:eventHandler event="onclick" submit="true"
refreshMode="partial">
<xp:this.action><![CDATA[#{javascript:var newDoc = database.createDocument();
newDoc.appendItemValue("Form", "ProfCatLnk");
newDoc.appendItemValue("DateFrom", getComponent("dateFrom").getValue());
newDoc.save();
}]]></xp:this.action>
</xp:eventHandler>
</xp:button>
when I click on save, it get an error "problem submitting an area of the page"
Any idea why?