JavaScript error in your browser console in portal
03-20-2023 12:55 AM
Hi Everyone,
I am getting error in portal JavaScript error in your browser console while its working fine in native view
Client Script:onSubmit
function onSubmit() {
if (g_form.getValue('u_report_obtained') == 0 && g_form.getValue('u_q1') == 'yes') //report obtained= false and and q1 is yes {
var attachments = document.getElementById('header_attachment_list_label'); if (attachments.style.visibility == 'hidden' || attachments.style.display == 'none') {
g_form.addErrorMessage("Please attach the latest third-party audit report and respond to the attestation questions below.");
} else { return false; } } }
0
Helpfuls