Change editability of a field in a form

Hi,

I'm trying to get a text field can be editable or not, depending on the value of a selectable field on a form.
Is there any option to do this without duplicating the widget?

I work with v5.10.1 of Bonita.

Thanks

Regards

Hi, 

In the community edition you have to use javascript to accomplish that. set an "onselect" event to call a javascript function in your selec widget and in the javascript function set your text field as read only (or not)

I think it's available from studio in SP subscription, but never tried.

regards,

jCor

hi, 
i'll try do it with javascript, I've started a few days and there is some things that i don't know yet.

thank you very much