peter.t Posted August 25, 2009 Share Posted August 25, 2009 Hello, I might be in over my head but I figure why not ask for help. I have two forms. A main form with a few text fields. Inside this form is a link to a popup form where the user fills in a few text fields. When this popup form is submitted, I want the information to be submitted as an array to one variable and when the main form is submitted, the popup info is submitted into a hidden field. Here's the breakdown: Main Form has these text fields: >name >email link to popup form Popup Form has these text fields: >field1 >field2 >field3 >field4 When submitted, the popup window closes and this information carries back over to the Main Form and through a hidden field. So in the end, the fields in the Main Form are: >name >email >popupinfo (this hidden field stores the combined values of the popup form = field1, field2, field3, field4) This Main Form ends up being stored in a mySql db. Is this way too complicated? Quote Link to comment Share on other sites More sharing options...
haku Posted August 25, 2009 Share Posted August 25, 2009 Not ridiculously complicated, but I have to ask why you want to do it this way. Quote Link to comment Share on other sites More sharing options...
peter.t Posted August 25, 2009 Author Share Posted August 25, 2009 The fields in the popup form that will end up in one db column won't need to be updated. So I'm just trying to save db space. And I just want to see if this is doable. I forgot to mention earlier that I'm using PHP. 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.