I added some fields to the registration form like Organization, Mobile phone number, etc.
After having received some registrations, I was then asked to implement a required boolean "Agree to terms and conditions" checkbox. I added the required field to the Sign Up form.
Now when a user logs in and trys to update their profile information, the form is throwing an Error because they have not met the requirements.
If the user is under the "Edit Profile" tab you can see the checkbox, but if they are under the "Edit Account" tab when updating their profile, it is not obvious to the user there the checkbox is since it is under "Edit Profile".
I don't really have an elegant solution to this.
Perhaps simply provide a hyperlink to the Edit Profile tab in the error message box ?
| Comment | File | Size | Author |
|---|---|---|---|
| profile.png | 36.19 KB | davidhunter |
Comments
Comment #1
ezra-g commentedHave you considered using one of these modules?
http://drupal.org/project/legal
http://drupal.org/project/terms_of_use
Comment #2
davidhunter commentedTx Ezra - I actually did look at those modules, but thought it's "usually" best practice to not use modules if the solution was available through more of a core configuration approach.
Perhaps I'm wrong in this assumption ?
Comment #3
ezra-g commentedThat is a good general rule of thumb. However, I think the requirements here as I understand them are fairly consistent across sites call for a bit of glue code, and so a lightweight contrib seems like a decent approach.
Regarding:
It's posible that we'll remove Edit Profile module in the future - You might consider disabling it on your site.
I think this issue is fixed but feel free to re-open with further discussion (and perhaps I'll see you at DrupalCon :) ?).
Comment #4
davidhunter commentedTx Ezra. I'll install the modules and see if they work out a little better.
DrupalCon Definitely! See you Portland!