Powerstore users_registration.php from issue
I've updated my users_registration.js file so that when I select "Company" from the Access Group select field that a third version of the registration form is visible.
I made a copy of the registration form and edited it giving it an ID of CompanyRegistrationForm that is pulled up using the javascript file mentioned above and that works. I set the input button ID to RegistrationComp and copied the register insert code and edited it to match the button ID.
My problem is that the form is not updating the database. The other two, the original registration form and the admin form still function correctly. I do not see what I am missing or went wrong.
I'm including the file. Can you easily spot the problem?
Thanks.