<switch> and <toggle>

Could you please tell me which syntax I have to use when I want to show
textbox elements in accordance with a selection in a pulldown-menu?
Would it look like the following?

	<xform:selectOne id="username" ref ="/notiz/username"
selectui="pulldown">
		<xform:hint>Bitte geben Sie hier einen Benutzernamen
an</xform:hint>
		<xform:caption>Username: </xform:caption>
			<xform:item value="meier">Meier 
				<toggle switch="switch01" case="case01"
/>
			</xform:item>
			<xform:item value="mueller">Mueller
				<toggle switch="switch01" case="case03"
/>
			</xform:item>
			<xform:item value="huber">Huber
				<toggle switch="switch01" case="case03"
/>
			</xform:item>
	</xform:selectOne> 

	<xform:switch id="switch01" default="case01">
		<xform:case id="case01">
			<xform:textbox...................>
			</xform:textbox>
		</xform:case>
		<xform:case id="case02">
			<xform:textbox...................>
			</xform:textbox>
		</xform:case>
		<xform:case id="case03">
			<xform:textbox...................>
			</xform:textbox>
		</xform:case>
	</xform:switch>

I know that the example isn't quite meaningfull, but I think that it
illustrates my thoughts.

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
> 
> 

Received on Tuesday, 3 July 2001 06:16:53 UTC