nikhil_lu210's avatar

Dependent / Cascading Dropdown for multiple ( Model, Migration-Table & Controller)

I have two migration table in a database named "2018_09_26_152831_create_all_drivers_table" & "2018_09_26_141623_create_all_routes_table". There are different model ( "AllDriver.php" & "AllRoute.php") and controller ( "AllDriverController.php" & "AllRouteController.php" ) for these two different table. There is also another migration table named "2018_09_26_144829_create_all_buses_table". For this table, I also have a similar model & controller too. In the "allbus.create" page I have two dropdown field named "Select Route" and "Select Driver". Here I want to get the Driver Name on behalf of selecting route no.

So can anyone please tell me the process, how can I build it successfully using Ajax or something else..?

0 likes
2 replies

Please or to participate in this conversation.