Re: XForms: text objects

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 28 May 98 07:58:46 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> can a text object have acallback? Fdesigner has an option to enter a
> callback for a text object.. but how and when is the callback called?

No, since it has no action, it has no callback useful. You could used
a posthandler if you needed to interact somehow, though.

> ... The problem is that I
> can;'t use the same callback functions to set my label of the text object
> because I need the label to be set WHILE the user is in the field.

About the only thing I can suggest is to use an input filter to
monitor the changes in the Input object and modify the Text object
accordingly.

I'm not sure I understand why you need to update Text objects if you
already have the same information in the Input object. This seems
redundant to me.

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