disable revalidation on blur

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

disable revalidation on blur

Henk Visser
Hi,

At the moment my model  is getting revalidated when an input field loses focus. What I want is that the model only gets validated on submission (i.e. in my case: when pressing the submission button). So my question is: is there a way to disable revalidation when an input field loses focus?

Thanks and best regards,

Henk
Reply | Threaded
Open this post in threaded view
|

Re: disable revalidation on blur

Alessandro  Vernet
Administrator
Hi Henk,

Not really: you can configure the XForms engine not to send focus events through oxf.xforms.client.events.filter, but value changes will be sent anyway. So when it comes to only showing validation errors on submission, see my answer to:

http://discuss.orbeon.com/no-validation-on-page-load-td4656811.html#a4656814

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet