The xxforms-invalid and xxforms-valid events do not work anymore in latest build with function xxforms:valid():
<xforms:action ev:event="xxforms-invalid" ev:observer="CQI"> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow1" value="if(xxforms:valid(instance('CQI')/CQI:Patient/CQI:Bio, true()) = false()) then 'Invalid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow2a" value="if(xxforms:valid(instance('CQI')/CQI:Patient/CQI:Symptoms, true()) = false()) then 'Invalid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow2b" value="if(xxforms:valid(instance('CQI')/CQI:Patient/CQI:MedicalHistory, true()) = false()) then 'Invalid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow2c" value="if(xxforms:valid(instance('CQI')/CQI:Patient/CQI:SurgicalHistory, true()) = false()) then 'Invalid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow4" value="if(xxforms:valid(instance('CQI')/CQI:Procedure, true()) = false()) then 'Invalid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow5" value="if(xxforms:valid(instance('CQI')/CQI:PostOp, true()) = false()) then 'Invalid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow6" value="if(xxforms:valid(instance('CQI')/CQI:ClinicPostOp, true()) = false()) then 'Invalid' else ''" /> </xforms:action> <xforms:action ev:event="xxforms-valid" ev:observer="CQI"> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow1" value="if(xxforms:valid(instance('CQI')/CQI:Patient/CQI:Bio, true()) = true()) then 'Valid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow2a" value="if(xxforms:valid(instance('CQI')/CQI:Patient/CQI:Symptoms, true()) = true()) then 'Valid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow2b" value="if(xxforms:valid(instance('CQI')/CQI:Patient/CQI:MedicalHistory, true()) = true()) then 'Valid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow2c" value="if(xxforms:valid(instance('CQI')/CQI:Patient/CQI:SurgicalHistory, true()) = true()) then 'Valid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow4" value="if(xxforms:valid(instance('CQI')/CQI:Procedure, true()) = true()) then 'Valid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow5" value="if(xxforms:valid(instance('CQI')/CQI:PostOp, true()) = true()) then 'Valid' else ''" /> <xforms:setvalue ref="instance('controls')/CQI:WorkFlow6" value="if(xxforms:valid(instance('CQI')/CQI:ClinicPostOp, true()) = true()) then 'Valid' else ''" /> </xforms:action> |
Administrator
|
Hi Brian, Would you be able to send us a standalone example that we can run here to reproduce this issue? Alex On Sat, Jan 12, 2013 at 4:52 AM, bsteuhl <[hidden email]> wrote: The xxforms-invalid and xxforms-valid events do not work anymore in latest Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |