Field readonly test PHP

andreasuriani

New Member
Hi there,
i have 3 field:

A = 1
B = 1
C = 1

I need to know how insert a php test like if C =2 fields A and B must be "readonly".

How can i do this?

Thanks in advance

Andrea
 
Have you tried the element Javascript events?

So on element C, add an event to set A and B to readonly if C = 2. You'd probably want to add two events, on 'load', and one on 'change' (or 'click', or 'blur' depending on the element type).

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

Thank you.

Staff online

Members online

Back
Top