jrbilodeau Posted March 2, 2009 Share Posted March 2, 2009 Hi i'm trying to send information from one form back to the original form, but i'm not sure how. i have attached 2 pics of the forms. if i click the browse button beside Song Location it opens a form that lets me browse a specified directory on the server. once i select the song and click submit, i want it to send the data in the textbox that shows the path back to the first form in the song location textbox. is this possible, and if so how would i go about doing it. thanks [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/147628-send-info-from-one-form-to-another/ Share on other sites More sharing options...
jrbilodeau Posted March 2, 2009 Author Share Posted March 2, 2009 i forgot to mention that i also want it to close the 2nd form when i click sumbit Link to comment https://forums.phpfreaks.com/topic/147628-send-info-from-one-form-to-another/#findComment-775007 Share on other sites More sharing options...
samshel Posted March 2, 2009 Share Posted March 2, 2009 sequence is not important in case of forms... u can send the information from second to first, the same way u send it from first to second... i m not sure if this is related to PHP anyway, pl try posting in appropriate forum. To give u a head start, try submitting the second form by JS , give action as the first form URL, and target = "_parent", try googling around this. Link to comment https://forums.phpfreaks.com/topic/147628-send-info-from-one-form-to-another/#findComment-775012 Share on other sites More sharing options...
jrbilodeau Posted March 3, 2009 Author Share Posted March 3, 2009 im a bit new to web programming, so i don't really know java script. i know html pretty good and some php. i've already tried putting the action to the first page, but it just opens a new one, instead of going to the one that form2 was launched from. and from what i can see taget="_parent" applies to frames, which i am not using. any other help? Link to comment https://forums.phpfreaks.com/topic/147628-send-info-from-one-form-to-another/#findComment-775185 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.