[Xsltforms-support] Problem with validate attribute of submission element
Brought to you by:
alain-couthures
From: Aleksandar S. <ale...@pr...> - 2010-02-10 13:13:50
|
Hi, I have a problem to set validate="false" to submission element. Form is validated on submission inspite of validate="false". I looked at .js code and I discovered following: When validate attribute is defined in submission element (no matter what value it has) in XFSubmission definition it is type of string. And when validate attribute is not defined - it is boolean. Later on submit there is a line: if (this.validate && !validate_(node)) and when validate is defined - first part of this if clause will always return true no matter what value validate has. So, from my point of view, some string to boolean conversion has to be done somewhere. Regards. |