in reply to Re^6: Getting all values from a CGI list box
in thread Getting all values from a CGI list box

I think you missed this bit of the OP:

The values displayed in the list box are being changed dynamically via JavaScript.

Your code will return the initial contents of the list box, not the content changed by JavaScript as desired by the OP.

(By the way, why are you're using a hidden field and not the session to send data from the script to a future invocation of itself?)

  • Comment on Re^7: Getting all values from a CGI list box

Replies are listed 'Best First'.
Re^8: Getting all values from a CGI list box
by pKai (Priest) on Jan 02, 2007 at 23:12 UTC

    As long as only

    The values displayed in the list box...

    (emphasis mine) are affected, which I read as corresponding to the values %Labels, I should be fine...

    But nitpicking aside, you are right, I did miss that bit and it's probable consequences for the server accessability of the stuff to give back.

    why are you're using a hidden field and not the session to send data from the script

    It enabled me to present a minimal working example, without introducing another (not already mentioned) module.