Dashboard > Tempo > ... > FAQ > Disable validation in XFormsManager > View
Tempo Log In   View a printable version of the current page.
Disable validation in XFormsManager
Added by Nicolas Modrzyk, last edited by Nicolas Modrzyk on Nov 18, 2008

Disable validation on a PATask

In the xFormsManager webapp, look for the following act.xpl file.

And look for the following section:

<xforms:submission id="completeSubmission" ref="instance('taskoutput')" validate="true" action="/formManager/complete" method="post" replace="all">
   <xforms:delete ev:event="xforms-submit" nodeset="instance('taskoutput')/@saved" at="0"/>
   <xforms:toggle ev:event="xforms-submit" case="submit-wait"/>
   <xforms:toggle ev:event="xforms-submit-done" case="refresh-all"/>
   <xforms:action ev:event="xforms-submit-error">
   <xforms:toggle case="viewTask"/>
   <xforms:message level="modal">Can not complete task because the form is not correctly filled out</xforms:message>
   </xforms:action>
</xforms:submission>

Then update the validate tag from

validate="true"

to

validate="false"

This will disable validation of the form, and will send a request to the server, as coded in the complete.xpl file.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators