Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Can I restrict public registration to certain email domains?

  • testingisoc
  • testingisoc's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #216945 by testingisoc
I am aware that it could potentially be done with the beforeRegister event and the nosendmail example but I have absolutely no idea how. Has anyone been able to achieve this?

The situation is like this:  I am running a student council election and I want to restrict the votes to one per student. I know that all students have an email address of a format "*@student.uni.edu", but not each student's email address.

Thank you so much.
The topic has been locked.
  • testingisoc
  • testingisoc's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #216969 by testingisoc
UPDATE: After spending some time, I have developed a plugin for those that need it :)

github.com/technowhizz/LimeSurvey-RegDomainRestricter
The following user(s) said Thank You: DenisChenu, holch
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose