http://qs321.pair.com?node_id=760285


in reply to modifying listbox value?

Maybe you want to show us the relevant part of the code you already have? In general, the idea would be to only output val1, val2 when needed, and val3, val4 otherwise.

But you might still be under a misconception how CGI works, so it's hard to tell without seeing code and a more exact description of what you want to happen.