use javascript to toggle the readonly attribute of input field code example
Example: javascript set readonly property
document.getElementById('InputFieldID').readOnly = true;
document.getElementById('InputFieldID').readOnly = true;