itmagician Posted December 4, 2020 Share Posted December 4, 2020 Hi - I want to add to a form a dropdown menu with two options. If option A is selected a number of text boxes are populated from a set of associated variables; likewise if option B is selected the textboxes would be populated from a different set of variables. Any assistance is much appreciated. Ira Quote Link to comment https://forums.phpfreaks.com/topic/311802-looking-to-populate-text-boxes-based-upon-dropdown-menu-selection/ Share on other sites More sharing options...
Barand Posted December 4, 2020 Share Posted December 4, 2020 (edited) Check for change events on the dropdown. Take appropriate action depending on whether its value changes to A or B. Edited December 4, 2020 by Barand 1 Quote Link to comment https://forums.phpfreaks.com/topic/311802-looking-to-populate-text-boxes-based-upon-dropdown-menu-selection/#findComment-1582828 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.