Forum Moderators: open
Although I was able to make text fields input to stay on but i can't make it work on a list fields.
How will i do this?
Do you mean a select element [w3.org]? If so, you must add the 'selected' attribute to the option like so:
<SELECT NAME="flavor">
<OPTION>Vanilla
<OPTION>Strawberry
<OPTION value="RumRasin">Rum and Raisin
<OPTION selected>Peach and Orange
</SELECT>
Of course you must compare the value of the submitted variable with the value of the option to know to echo 'selected' or not.
Good luck!