in reply to CGI: stickier than I thought

Having three parameters of the same name in the same form on a page will (IIRC and I can't be bothered to verify so RTFM) create an ARRAY with 3 elements. So therefore nothing that occurs in your code affects the variable stickiness.

Now if you were creating the form using the first 3 lines, then on submission outputting the 4th and 5th and then on resubmission outputting 6 and 7 I would be surprised because in that case the stickiness would almost certainly mean that 4 and 5 would output ..value="1".. not ..value="3"..

Dingus