I have created a PHP form which requires the user to select a postcode from a list of postcode values.
The user presses submit two times: - once to go to address select menu which will display a select drop-down with values - second presses "ok" button to select the address corresponding to his postcode value
I need to keep the value of the selected postcode value for when the form gets submitted. I have tried setting up the postcode drop-down value chosen in a SESSION... but it gets lots when user presses form submit.
How can I keep all the form values even after refreshing the page when the user presses one of the submits?