- From: T. V. Raman <tvraman@almaden.ibm.com>
- Date: Tue, 3 Jul 2001 09:55:53 -0700
- To: "Roman Huditsch" <r.huditsch@hico.com> (by way of "Masayasu Ishikawa" <mimasa@w3.org>)
- Cc: www-forms@w3.org
If what you're trying is to have a specific text box pop up
when the user selects one of the items then you're
essentially right.
Note that by doing this you would have set
ref ="/notiz/username"
to one of the selected values
e.e. meier --at the type the textbox pops up
>>>>> "Roman" == Roman Huditsch <<r.huditsch@hico.com> (by way of "Masayasu Ishikawa" <mimasa@w3.org>)> writes:
Roman> Could you please tell me which syntax I have to
Roman> use when I want to show textbox elements in
Roman> accordance with a selection in a pulldown-menu?
Roman> Would it look like the following?
Roman> <xform:selectOne id="username" ref
Roman> ="/notiz/username" selectui="pulldown">
Roman> <xform:hint>Bitte geben Sie hier einen
Roman> Benutzernamen an</xform:hint>
Roman> <xform:caption>Username: </xform:caption>
Roman> <xform:item value="meier">Meier <toggle
Roman> switch="switch01" case="case01" /> </xform:item>
Roman> <xform:item value="mueller">Mueller <toggle
Roman> switch="switch01" case="case03" /> </xform:item>
Roman> <xform:item value="huber">Huber <toggle
Roman> switch="switch01" case="case03" /> </xform:item>
Roman> </xform:selectOne>
Roman> <xform:switch id="switch01"
Roman> default="case01"> <xform:case id="case01">
Roman> <xform:textbox...................>
Roman> </xform:textbox> </xform:case> <xform:case
Roman> id="case02"> <xform:textbox...................>
Roman> </xform:textbox> </xform:case> <xform:case
Roman> id="case03"> <xform:textbox...................>
Roman> </xform:textbox> </xform:case> </xform:switch>
Roman> I know that the example isn't quite meaningfull,
Roman> but I think that it illustrates my thoughts.
Roman> Thanks a lot. Yours, Roman Huditsch
>> Roman Huditsch (RH )
>> _____________________________________________________________________
>> hico Informations- und Kommunikations-Management
>> Gesellschaft m.b.H. TechLab, Thomas A. Edison Straße
>> 2. A-7000 Eisenstadt / Austria phone:
>> +43/2682/704-61-00; fax: +43/2682/704-71-61-10
>> e-mail:support@hico.com; r.huditsch@hico.com
>>
>>
--
Best Regards,
--raman
------------------------------------------------------------
IBM Research: Human Language Technologies
Phone: 1 (408) 927 2608
Fax: 1 (408) 927 3012
Email: tvraman@us.ibm.com
WWW: http://www.cs.cornell.edu/home/raman
PGP: http://emacspeak.sf.net/raman.asc
Snail: IBM Almaden Research Center,
650 Harry Road
San Jose 95120
Received on Tuesday, 3 July 2001 12:57:39 UTC