The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Add Custom field to login form.. - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Add Custom field to login form.. (/showthread.php?tid=190)



Add Custom field to login form.. - snifer999 - 07-20-2016

hi,

how can i add a custom field to login form.
when user register i want to provide them a unique user code
in the login form i want to have this unique code field so when user login i want to filter only the data base on this user code ....

the whole idea is i want to build a android app where user can sync data to webapp each device i want to provide a unique id so when user login to webapp i want to filter out data base on this unique id ...

just prototyping it ..


Add Custom field to login form.. - mudmin - 07-20-2016

If you look in the users table of the database, there is already a vericode being created. Could you use that?


Add Custom field to login form.. - snifer999 - 07-21-2016

i think vericode is unique per user in my case same unique code maybe use by few person
lets say a company subscribes to my app and i provide them with a something like unique iD this ID they set on every android device they own so here 1 id use used by many device
when they login to webapp with user id ,password and id i want to filter out data for this id only


Add Custom field to login form.. - snifer999 - 07-21-2016

i think maybe i can use the company column in user table ..


Add Custom field to login form.. - mudmin - 07-24-2016

IF that doesn't work, there are several ways to generate something random like that.



Add Custom field to login form.. - snifer999 - 07-24-2016

is there any way to add a new field in login and registration form ?


Add Custom field to login form.. - mudmin - 07-25-2016

Try this walktrhough....
http://userspice.org/registration-form-add-fields/