function gsoApproval(){ // g_form.setMandatory('rad_reviewer',true); g_form.setMandatory('assignment_group_member',true); // g_form.setMandatory('rad_review_date',true); // g_form.setMandatory('technical_review',true); // g_form.setMandatory('outdated_technology',true); // g_form.setMandatory('additional_approvers',true); // g_form.setMandatory('external_facing',true); g_form.setMandatory('recommended_response',true); // if(g_form.getValue('work_notes')==''){ // //g_form.setMandatory('work_notes',true); // g_form.addErrorMessage('No work notes'); // return false; // } gsftSubmit(null, g_form.getFormElement(), 'gso_approval'); } //Ensure call to server-side function with no browser errors if (typeof window == 'undefined')
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter