Welcome Guest, Not a member yet? Register   Sign In
dynamic form_dropdown
#5

To make dynamic form dropdow you need to write some JavaScript code to update the stream dropdown with new values when a value is selected in the project dropdown. So you need to attache an event on the project dropdown that will fire when the value is changed. You then need to get the new values to insert in the stream dropdown. You can get that list with an ajax request which will select the values in the database and return it to you javascript function.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
dynamic form_dropdown - by jennyvin16 - 03-15-2019, 02:02 AM
RE: dynamic form_dropdown - by php_rocs - 03-15-2019, 09:04 AM
RE: dynamic form_dropdown - by jennyvin16 - 03-17-2019, 06:39 PM
RE: dynamic form_dropdown - by ciadmin - 03-17-2019, 08:22 PM
RE: dynamic form_dropdown - by includebeer - 03-19-2019, 11:09 AM
RE: dynamic form_dropdown - by jennyvin16 - 03-21-2019, 10:13 PM
RE: dynamic form_dropdown - by includebeer - 03-28-2019, 05:27 AM
RE: dynamic form_dropdown - by includebeer - 03-27-2019, 04:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB