cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Ochs <>
Subject how to add a Select All to a cform fd:multivaluefield element?
Date Tue, 05 Jul 2005 19:57:27 GMT
Hi, I am new to cocoon forms and am trying to figure out the best way
to add a select all/none link into a multivaluefield element.  So far
I have tried to detect the checkbox click with a fd:on-value-changed
element in the fd:field element, but that doesn't seem to be working. 
Does anyone know the best way to implement this?  I'm assuming I can
figure out how to create a select all/none link, but I'm not sure how
I would hook it into the multivaluefield element.  The field
definition code I have so far is below, the on-value-changed is not
working as far as I can see...

any help is appreciated!
thanks, dan

<fd:multivaluefield id="myTypes">
	<fd:datatype base="string"/>
		<fd:value-count min="1"/>
		<fd:item value="value1">
			<fd:label>Label 1</fd:label>
		<fd:item value="value2">
			<fd:label>Label 2</fd:label>
		<fd:item value="value3">
			<fd:label>Label 3</fd:label>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message