0

@bjornbjorn Got Simple Registration and trying to use it for a front end member registration form, but getting the following error when trying to register via the form:

The form you submitted contained the following errors
group_id: You must select a valid group.

I'm using EE 3.5.10 - the member settings should allow member registrations, and it's set to require admin moderation: enter image description here The "pending" group does exist.

Please help!

  • Is anyone checking these forums? I've created a question on here and tagged it with "simple-registration" as requested on here - devot-ee.com/add-ons/simple-registration-ee3 - but no response... – Andy Marshall Jan 19 '18 at 17:18
  • Hi, sorry for the late reply :-/ If you look at Andrew's answer below it is correct, I have verified and I got the same error message you got if I locked a member group. – Bjørn Børresen Feb 19 '18 at 10:03
  • ok, thanks Bjorn - I'll remember that for next time a similar site comes up - have you already / will you be updating Simple Registration to EE4? – Andy Marshall Feb 20 '18 at 11:58
1

This response is probably too late for you, but I've just had the same issue with the built-in EE member registration.

The solution seems to be, under Control Panel > Members > Member Groups, to unlock the groups that you are allowing members to join. Click on the member group name and click on the Security Lock switch.

| improve this answer | |
  • Interesting.. i had thought I'd checked that too, but maybe not... have since returned the plugin, but will bear that in mind for future installs - thanks Andrew :) – Andy Marshall Feb 20 '18 at 11:56
1

You need to add the group_id to the form as a select field, with the option value being the id for example...

 <select name="group_id" id="">
    <option value="1">Bookings</option>
    <option value="2">Members</option>
    <option value="3">Admin</option>
  </select>

Then it will work.

| improve this answer | |
  • You might also choose to add it as a hidden field, so a user couldn't register themselves as 'any' user. – stevesweets Jan 30 '19 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.