Does the user enter values in the parent window as well as the pop-up window? And you want to combine all these values? If so then you'll need to submit the form in the parent window at the same time you launch the pop-up, then store that info somewhere your script can get it (perhaps a unique filename which you pass to the pop-up) and then pick it up again with the script that runs when you submit the form in the pop-up.
Confused? I am.
I'm not quite clear about what this means:
I want the values to remain PLUS add the value from the pop up window
... do you mean numerical addition, or more data fields or what? In any event, as I say, you'll need to submit the parent data and save it, then send the pop-up window a filename in a hidden field, so you can find the data again when the pop-up submits.
I promise not to repeat myself again (
sic) if you post some code!
§ George Sherston
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.