Re: [Xsltforms-support] Delay before firing events?
Brought to you by:
alain-couthures
From: Klotz, L. <Lei...@xe...> - 2010-05-12 20:19:05
|
XForms doesn't specify what @incremental=true means in detail. Many choose to implement a per-character event, but that's not necessarily what everyone wants. The delay attribute doesn't seem to me to be a good fit for this use, given its definition. How about if Alain or you consider an xsltforms specific attribute for giving finer control over event timing with textarea or input/@incremental=true? <mailto:input/@incremental=true? Experience> Experience with thsi implementation would be good feedback to the Forms WG. Leigyh. ________________________________ From: Grégoire Colbert [mailto:gco...@gm...] Sent: Wednesday, May 12, 2010 9:51 AM To: support xsltforms Subject: Re: [Xsltforms-support] Delay before firing events? 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 |