Re: [Xsltforms-support] Delay before firing events?
Brought to you by:
alain-couthures
From: Grégoire C. <gco...@gm...> - 2010-05-12 17:04:28
|
Hi, I'm still working on a XForm with a "autocomplete" field. Is there a way, with XSLTForms, to only submit a form if no "key pressed" event is received during a few milliseconds? I've seen in XForms 1.1 that there's a "dispatch" element with the "delay" attribute, which could be the solution : http://www.w3.org/TR/xforms11/#action-dispatch Has anyone used it? Thanks a lot for your help! Grégoire Le 10 mars 2010 10:29, Grégoire Colbert <gco...@gm...> a écrit : > Hi, > > I noticed the following message on "What's happening?" screen at SF : > > *Hello, I'm trying an incremental search like the one you show in > http://en.wikibooks.org/wiki/XForms/Incremental_Find. When the user write > the first char in the xf:input , the event is fired and the request sent and > during that time we loose one or more typed chars. Is there any mean to > introduce a small delay before sending the request ? Cordialement. Benoit > VINCENT.* > > I have exactly the same issue. Is there a solution? > > Grégoire > > |