Set RadioButton element disabled

Hello.
I have a radio button which has 3 values:
"0" - Rejeitado
"1" - Pendente
"2" - Aprovado
I want to know how I can disable a radio button based on its value. For example:
When the user creates a record and puts the radio button element value to 2, and then he goes to edit that same record he can't change it back to value 0 or 1... Is that possible?
 
You could try adding a Javascript event on the element, onload, that sets 'readonly' if the value is 2.

You can't "disable", because when disabled, element values don't submit with the form, so the element gets reset (an HTML thing, not a Fabrik thing).

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top