Need Help to set route options for buttons for checkbox and date fields. All other fields are working with the below type code
frappe.route_options = {
'dob': frm.doc.dob,
'knee':frm.doc.knee,
};
DOB is the date field and the Knee is the checkbox field. Field names are the same in both doctypes.