saravanataee Posted January 3, 2013 Share Posted January 3, 2013 Dear all, Happy New Year, I am looking to have a method. But not sure how much it is possible to do with php. for eg. i have a php form with Itemname,id,packname,store location. All are text fields. And when i click the text field store location, i want to show a subwindow which consisting of details from my another table for store location which might have location id, name,reference and its values. I want to either select a location from list or add new dynamically in the subwindow. I need to know how much it is possible and how can i start with.. Any help is appreciated..! Thanks!! Quote Link to comment https://forums.phpfreaks.com/topic/272641-showing-a-window-inside-php-form-when-user-clicks-a-text-box/ Share on other sites More sharing options...
Muddy_Funster Posted January 3, 2013 Share Posted January 3, 2013 sounds a lot like you just need a select element... :/ Quote Link to comment https://forums.phpfreaks.com/topic/272641-showing-a-window-inside-php-form-when-user-clicks-a-text-box/#findComment-1402956 Share on other sites More sharing options...
cpd Posted January 3, 2013 Share Posted January 3, 2013 You can implement a select statement as described by Muddy and then use AJAX to add new entries - this would in turn update your select with a new option. Quote Link to comment https://forums.phpfreaks.com/topic/272641-showing-a-window-inside-php-form-when-user-clicks-a-text-box/#findComment-1402966 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.