According to child table field-{status(RO)} option, another filed of that child table field-{status_details} show only that option

In child table there is 2 select fields one is read only.
fields: status(RO) , status_details.
From another doctype get value in status(RO) field.
According to status(RO) option, status_details show only that option.