Scenario,
As part of a (self) registration process, I'd like to have a checkbox that says:
[ ] I Agree to the terms of use ... yadda yadda yadda.
If the checkbox is not checked, then the Self Reg would not submit and/or it would show an error message.
At this point, only a username, password, and email address are being collected. I'd like it to be all on this single form, as a one-step process.
Any help on implementing this would be appreciated.
Tom
Self Registration Require Checkbox Checked
Re: Self Registration Require Checkbox Checked
I can't think of an "all-in-one-solution", but you could do the self-reg and then after the final submit, redirect to a page with a FormBuilder form that requires them to accept the terms of use. This wouldn't be totally satisfactory, because it wouldn't prevent the registration from being successful if the terms weren't accepted.
This sounds like a feature request (and a good one) - please submit it in the Forge.
This sounds like a feature request (and a good one) - please submit it in the Forge.
Re: Self Registration Require Checkbox Checked
Is there any new ways to achieve this?
Re: Self Registration Require Checkbox Checked
Typically I use a JQuery plugin to validate forms before submission, which makes it easy to check for a certain state on a checkbox beforehand. It's pretty easy to use Javascript just for a small form, just google and you'll find lots of solutions. IIRC a required unchecked checkbox field will also make the registration fail, but I'm not sure and I don't have where to test atm.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Self Registration Require Checkbox Checked
There is indeed a field "Checkbox extended" that suits perfectly to this.
I can't add [solved], 'cause this isn't my topic, but I think this is pretty much solved now.
Thanks Jo!
I can't add [solved], 'cause this isn't my topic, but I think this is pretty much solved now.
Thanks Jo!
Re: Self Registration Require Checkbox Checked
Hm, as far as I remember it should be as easy as adding a checkbox FEU property as required field to the group to which the users are going to sign up.
Or have I misunderstood something here?
- In FEU add a new property of type “checkbox” with the prompt “I agree to the terms yadda yadda …”
- Still in FEU, go to the “Groups” tab and set that property/field to “required” (and optionally move it to your desired position)
Or have I misunderstood something here?
Re: Self Registration Require Checkbox Checked
Thanks! I think this is really logical method!10010110 wrote:Hm, as far as I remember it should be as easy as adding a checkbox FEU property as required field to the group to which the users are going to sign up.
In your SelfRegistration form this checkbox should now show up.
- In FEU add a new property of type “checkbox” with the prompt “I agree to the terms yadda yadda …”
- Still in FEU, go to the “Groups” tab and set that property/field to “required” (and optionally move it to your desired position)
Or have I misunderstood something here?



