Re: XForms: About input field

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 17 Jun 97 06:27:54 PDT

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

> I want to know, if I can put a part of visible text and other part of
> hidden text in the input field, and how.

I'm not sure I understand the question. Can you give a bit of
explanation as to what you want to do?

If you're trying to implement something like a user name/password
challenge doohickey, I think you'd be better off using two Input
objects, one for the user name, created with FL_NORMAL_INPUT, and
another for password, created with FL_HIDDEN_INPUT.

BTW, while we're discussing Input objects, someone a day or so ago
asked about altering the default order of commutating focus on Input
objects when the TAB key is pressed. Take a look at the
fl_set_focus_object() and fl_reset_focus_object() functions, descibed
in Appendix A of the manual. I haven't done a test to determine if
this will work but it seems as if it should.

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/