On 19/10/11 11:25 -0700, felipon wrote:
> Hi,
> 
> i want to show/hide some form elements depending on referenced field
> attribute,
> here the source:
> 
> <separator id="horometro" string="Horometro" colspan="4"
> states="{'invisible':
> Equal(Eval('maquina.tipo'),'camion')}"/>

You can not use the dot notation in Eval.
You must create a Functionn field that will give you the value of tipo on the
Model.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpQtzhiKHNXm.pgp
Description: PGP signature

Reply via email to