Research Integrity Compliance Score
0%
of Practices Certified
Research Integrity Adherence Form
[Project Title]
PI: PI Name | Date:
Missing Mandatory Certifications
All mandatory items certified.
Certification Checklist Summary
Principal Investigator Certification
I certify that, to the best of my knowledge and belief, this research has been conducted in full compliance with the University's policies on research misconduct, data integrity, and responsible authorship.
Date:
Research Misconduct Policy Certification
Check the box next to each statement to certify that this practice has been adhered to for the current project.
Project Metadata
All mandatory items certified.
'; } else { missingCritEl.innerHTML = missingCrit.map(txt => `— ${txt}
`).join('');
}
// Update Chart
if(urmpafChart) {
urmpafChart.data.datasets[0].data = [percent, 100 - percent];
urmpafChart.data.datasets[0].backgroundColor = [percent === 100 ? '#28a745' : '#007bff', '#e9ecef'];
urmpafChart.update();
}
// Re-render the builder list to sync checkbox state if any manual changes were missed
urmpafRenderChecklist();
}
// --- Chart Logic ---
function urmpafInitChart() {
const ctx = document.getElementById('urmpaf-chart').getContext('2d');
urmpafChart = new Chart(ctx, {
type: 'doughnut',
data: {
labels: ['Certified', 'Missing'],
datasets: [{
data: [0, 100],
backgroundColor: ['#007bff', '#e9ecef'],
borderWidth: 0,
cutout: '75%'
}]
},
options: {
circumference: 180,
rotation: -90,
cutout: '75%',
responsive: true,
maintainAspectRatio: false,
plugins: { legend: { display: false }, tooltip: { enabled: false } },
aspectRatio: 1.5
}
});
}
// --- PDF Export ---
window.urmpafDownloadPDF = function() {
const element = document.getElementById('urmpaf-export-area');
// Prepare styles for print
const pdfHeader = element.querySelector('.urmpaf-pdf-header');
pdfHeader.style.display = 'block';
const opt = {
margin: 0.5,
filename: 'Research_Misconduct_Form.pdf',
image: { type: 'jpeg', quality: 0.98 },
html2canvas: { scale: 2 },
jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' }
};
html2pdf().set(opt).from(element).save().then(() => {
pdfHeader.style.display = 'none'; // Restore visibility
});
};
})();
