I'm trying to figure out how to enforce a strict
choice between two input fields in XForms -- that is,
you must choose one or the other, but not both (no, I
don't need a drop-down box here, I need input fields
for text).
Currently I've got this working as a XForms switch,
but that doesn't really present the user interface
that I want, because it only presents one field to
begin with and the user has to click a button to bring
up the other.
What I want is a way to present both fields initially,
but then set relevance to false if the user types
content into the other field. I've tried to accomplish
this using a bind statement that tests for text nodes,
but I can't get that to work.
Anyone have any ideas or examples to suggest?
Thanks,
Don
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws