Re: XForms: fl_set_input_filter: input filter not called consistently

T.C. Zhao (tc_zhao@yahoo.com)
Thu, 10 Jun 1999 20:40:55 -0700 (PDT)

# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

I think the behavior you're observing is the intended
behavior. Basically if you set the input return
to RETURN_END_CHANGED, the final validator will only be
called if the field has actually changed. If you'd like
to have the validator called always at focus switch,
you can use RETURN_END.

--- Tristan Savatier <tristan@mpegtv.com> wrote:
> # To subscribers of the xforms list from Tristan Savatier
> <tristan@mpegtv.com> :
>
> The input filter is not called very consistently:
>
> If an input field is selected but nothing was typed,
> hitting <TAB> or <RETURN> does not cause the filter
> to be called.
>
> If something was typed in, hitting <TAB> or <RETURN>
> ONCE causes the filter to be called with 'int c' set to 0.
> Hitting <TAB> or <RETURN> another time changes the focus
> without calling the filter.
>
> Hiding the form (or maybe loosing the focus ?) seems to
> cause the filter to be called with 'int c' set to 0.
>
> Using 0.88 and 0.88.1 for Linux-x86 libc5 and glibc.
>
> -t
> _________________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request@bob.usuhs.mil or see
> http://bob.usuhs.mil/mailserv/xforms.html
> XForms Home Page: http://bragg.phys.uwm.edu/xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
>
>

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/