Is there a way to send a url parameter to a popup using a button in a form? This doesnt work It pops up the popup window correctly but doesnt sent the $invNumber
Enter Auction Number "; echo "\n"; ?>
This sends the $invNumber but does not pop up a window
Enter Auction Number
Update: Initial form was requiring that the submit button was clicked twice in order for the popup to work and actually get the data, the click twice problem is still unresolved, but made it look pretty and like it was meant to be clicked twice. "; if (isset($_GET['submitInv'])) { $damnError = array(); if (!empty($_GET['submitInv'])) { if ($_GET['invNumber']=='') $damnError['invNumber'] = 'An auction number is required to continue.'; if (count($damnError) == 0) { if (isset($_GET['submitInv'])) { $urlaction = ""; } } } } echo "
\n"; if (!empty($damnError['invNumber'])) { echo "\n"; echo "Enter Auction Number
"; echo ""; echo "\n"; echo "\n"; echo "\n"; echo ""; if (!empty($damnError['invNumber'])) { echo "". $damnError['invNumber'] .""; } echo "\n"; echo "\n"; } elseif ((isset($_GET['submitInv'])) && (count($damnError) == 0)) { echo "\n"; echo "Invoice Number entered, click Go."; echo "\n"; echo "\n"; echo ""; echo "\n"; echo ""; echo "
"; echo "". $_GET['invNumber'] ."   ". stripslashes($urlaction) ."
"; echo "\n"; } else { echo "\n"; echo "Enter Auction Number
"; echo ""; echo "\n"; echo "\n"; } echo "
"; ?>