Hi,
I have 2 field in formdata, I want when the checkbox is checked, then the another field will change the className or add className Attributes.
org:
{type: “input”, label: “Last Name”,labelWidth:“80”,name: “lastName”,inputWidth:“500”,readonly:“true”, offsetTop: 10},
{type:“newcolumn”, offsetTop: 10},
{type: “checkbox”,name: “lastName_checked”,position:“label-right”,offsetTop:10},
change to new one
{type: “input”, label: “Last Name”,labelWidth:“80”,name: “lastName”,inputWidth:“500”,readonly:“true”, offsetTop: 10,className: “lbRed”},
{type:“newcolumn”, offsetTop: 10},
{type: “checkbox”,name: “lastName_checked”,position:“label-right”,offsetTop:10},
Could you give me the suggestion how to do it.
thank you very much.