The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add Custom field to login form..
#1
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 ..
  Reply
#2
If you look in the users table of the database, there is already a vericode being created. Could you use that?
  Reply
#3
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
  Reply
#4
i think maybe i can use the company column in user table ..
  Reply
#5
IF that doesn't work, there are several ways to generate something random like that.
  Reply
#6
is there any way to add a new field in login and registration form ?
  Reply
#7
Try this walktrhough....
http://userspice.org/registration-form-add-fields/
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)