Page 1 of 1
Self Registration Require Checkbox Checked
Posted: Mon Dec 22, 2008 9:52 pm
by tmk
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
Re: Self Registration Require Checkbox Checked
Posted: Tue Dec 23, 2008 1:33 am
by jmcgin51
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.
Re: Self Registration Require Checkbox Checked
Posted: Thu Aug 21, 2014 7:24 pm
by urheat
Is there any new ways to achieve this?
Re: Self Registration Require Checkbox Checked
Posted: Thu Aug 21, 2014 7:35 pm
by Jo Morg
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.
Re: Self Registration Require Checkbox Checked
Posted: Fri Aug 22, 2014 8:42 am
by urheat
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!
Re: Self Registration Require Checkbox Checked
Posted: Tue Sep 02, 2014 8:20 pm
by 10010110
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 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)
In your SelfRegistration form this checkbox should now show up.
Or have I misunderstood something here?
Re: Self Registration Require Checkbox Checked
Posted: Wed Sep 03, 2014 6:18 am
by urheat
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 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)
In your SelfRegistration form this checkbox should now show up.
Or have I misunderstood something here?
Thanks! I think this is really logical method!