Add new user group
I'm trying to add additional user groups to be able to see certain pages in the Admin Section.
I modified the below script in user_registratio.js and added 4 additional groupID in user group table but when try to add a user and assign it to one of the created groups it doesn't work. Is there something I'm missing?
if(select.options[select.selectedIndex].value == 2 || select.options[select.selectedIndex].value == 5 || select.options[select.selectedIndex].value == 4 || select.options[select.selectedIndex].value == 3) {
document.getElementById('WAATKRegistrationForm').style.display = 'none';
document.getElementById('AdminRegistrationForm').style.display = 'block';
document.getElementById('UserAccessAdmin').selectedIndex = document.getElementById('UserAccess').selectedIndex;