Moderators ProSkyDesign Posted March 20, 2017 Moderators Report Share Posted March 20, 2017 Hi dears, is possible to put a combo box in registration form? For example: If a pilot select the airline "Iberia" automatically the hub will select "LEMD" in stead of the pilot can select. In other words the hub case will be lock (as a placeholder="") How can I do it? Quote Link to comment Share on other sites More sharing options...
t_bergman Posted March 20, 2017 Report Share Posted March 20, 2017 You should be able to do this with a php if statement: if airline a then hub a, and go through the list. You can also hid the hub selection box by using the "hidden" attribute. Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted March 20, 2017 Author Moderators Report Share Posted March 20, 2017 17 minutes ago, t_bergman said: You should be able to do this with a php if statement: if airline a then hub a, and go through the list. You can also hid the hub selection box by using the "hidden" attribute. can you give an example? Quote Link to comment 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.