I am interested in achieving the following:
function modifyField(fieldName){
eval(fieldName) = 1234;
}
In simpler terms, I want to pass a specific field name as a parameter and then assign a value to that field. Can someone guide me on how to accomplish this?