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
Dropdown box auto populates other input fields - Help
#1
Hi

Consider this example - Do not qustion the merits, its just an example...

If you look at admin_users.php, there is a manually add user panel where there is a dropdown box for the permission group to choose when creating a new user...

Now, say I had another dropdown box which was autopopulated based on information from a table, much the same way the groups were autopopulated to the dropdown box. What I would like to achieve is as you select an option from the dropdown box, then based on your selection, say the name field and the surname field with autopopulate those text input boxes with information from the db based on the selection from the dropdown box, and if you choose another option from the dropdown box, then again the text fields will update with the correct data.

How would one achieve this?
  Reply


Messages In This Thread
Dropdown box auto populates other input fields - Help - by muhammedc - 04-29-2017, 01:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)