I add new input with Profile MANAGER to the registration page ! But i wan to be sure that the user has entered the right value ,before validate registration , so how to verify that values entered by users in this input == my default values that i can choose before !
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Basti Schmidt@basti.wiesn

Basti Schmidt - 0 likes
- yassine@YASSTEC

yassine - 0 likes
- Team Webgalli@webgalli

Team Webgalli - 0 likes
- yassine@YASSTEC

yassine - 0 likes
- yassine@YASSTEC

yassine - 0 likes
- Matt Beckett@Beck24

Matt Beckett - 0 likes
- yassine@YASSTEC

yassine - 0 likes
You must log in to post replies.No programming necessary!
You can do this by using the "dropdown" field type, when adding a new profile field. Enter your default values as "Options".
No ! the input that i added is for a Secret Code , so i wan to be sure that just users who have the Secret Code Only who can register !
You can try https://community.elgg.org/plugins/384516
thank you very much ! but what if i have many values of siteCode , can i separate them by comma or ???
i wan to add many secret code not only one .. ??please
How many secret codes? You said before it was for student ID's - is this a static set of ids or are you talking thousands of ids per semester? If so you may want to look into hooking into your school services and verifying ids remotely, or using some SSO method of registration.
Still, the method I PM'd you will work regardless. Hook into the registration action, check the input against your list, and return true/false to either continue registration or prevent it.
"Matt Beckett" , "Team Webgalli" Now i just use the plugin SiteCode so i renamed Secret Code of the plugin to Student Id , now using the plugin i have just one value to check , i mean i wan to add many value of this secret code per semestre .. for example (abc45 , ajk45k .ext.....) so if user entered one of those , we can validate registration .
- thnk you for your replies -