Page 1 of 1

Reload page : Keep current form entries

Posted: Wed Jul 06, 2005 2:39 am
by facets
Hi Gang,

As the title suggests. How does one reload a page but keep the current form entries.
ie, I've just updated a stock code from a popup window and wish to use that code as a selection (from a dropdown).

Any tutorials or links on this would be appreiciated.

many thanks, will

Posted: Wed Jul 06, 2005 2:53 am
by delorian
You do not have to reload the page. You can use JavaScript to "transfer" data from popup window field to your form field. phpBB has a similar soultion for transfering user names when e.g. sending a PM. Of course, you can always submit the form and insert the post data into form fields again.

Posted: Wed Jul 06, 2005 2:57 am
by s.dot
give the forms value, perhaps using $_GET
or $_POST them inside hidden input fields, and redirect to the necessary page

Posted: Fri Jul 08, 2005 2:31 am
by facets
I'm unsure how to use your example.
Here's what i'm trying to do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo &quote;<input type='hidden' name='paperCategoryId' value=&quote;.$_GETї'paperCategoryId'].&quote;>&quote;;
any assistance is appreicated.. TIA. Willes, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. WilltockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistancee seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Willy trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Will (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on thuse your example.
Here's what i'm trying to do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. WillockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<inp description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo enu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. WillStockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET&#mples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Will".$_GET['paperCategoryId'].">";


any assistance is appreicated.. TIA. Willto populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Will do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Willa submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
[/php:1:d51ba1818ed the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Will
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "&ampng to do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo &quote;&lt;input type='hidden' name='.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :
[php:1:d51bscription etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. WilloryId'].">";


any assistance is appreicated.. TIA. WillstockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo &quote;&
Here's what i'm trying to do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Will popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Willo do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Willng to do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo &quote;&lt;input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].".
Here's what i'm trying to do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Willes the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the teur example.
Here's what i'm trying to do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo &quote;&lt;input type='hidden' name='paperCategoryId' value=&quote;.$_GET&#1111;'paperCategoryId'].&quote;o..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminolog down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo &quote;&lt;input type='hidden' name='paperCategoryId' value=&quote;.$_GET&#1111;'paperCategoryId'].&quote;&gt;&quote;;
any assistance is appreicated.. TIA. WikId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Willuse your example.
Here's what i'm trying to do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Willry (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Willuse your example.
Here's what i'm trying to do..

Paper Category (Drop down) reads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
aads from DB to populate DropDown Menu
StockId does the same, but stockId has a submit button which displays the stockId & description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo &quote;&lt;input type='hidden' name='paperCategoryId' value=&quote;.$_GET&#& description etc in a popup.

When stockId 'submit' is submitted the form resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Willm resets and clears all entered data.
I've seen this done correctly many times, but am unsure on the terminology to search for examples.

My trial failed :

Code: Select all

echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";
any assistance is appreicated.. TIA. Will
echo "<input type='hidden' name='paperCategoryId' value=".$_GET['paperCategoryId'].">";


any assistance is appreicated.. TIA. Will