I have a class with 2 methods: new and valueOf.
new is supposed to get the query string and decode it into an anonymous hash. The keys for this hash are html form element names (ie., name, address, fav colors, etc), and the values are what the user enters. Has to handle duplicates in the data (fave colors are red and purple).
valueOf gets the name of the form element and returns the value.
i hope i've explained this fully enough. I have NO IDEA how to get the query string into the constructor.