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!! 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... :/ 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. 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
Archived
This topic is now archived and is closed to further replies.