In the user form, we have different fields that must be checked by a supervisor after completing. The user no longer needs to be able to modify or delete that record. We created a condition in java that if checked, hide the Save Delete Clone buttons, but the Save Delete Clone options remain active in the Options menu.
Code: Select all
if($('#brn_gestiune_viztehno').val() != 0 || $('#brn_gestiune_vizgesti').val() != 0 ){
$('#nuSaveButton').hide();
$('#nuDeleteButton').hide();
$('#nuCloneButton').hide();
$('input, select').prop('disabled', true);
}
#brn_gestiune_viztehno = VIZAT Tehnolog
#brn_gestiune_vizgesti = VIZAT Gestionar
How can I disable Save Delete Clone in the Options menu for users? or How can I disable the entire Options Menu for users?
Thank you.