See attached html.
On line 100 there is a select element defined. I gave it the name fields so that when it is passed to the php processing program, it is recognized by php as an array.
Note on line 88 the onsubmit = "return chk_vals();". The purpose is to make sure the user selected at least ONE value from the select list named fields.
Note on lines 39 - 52 the function chk_vals().
When I run the program (in Firefox), it says syntax error on line 42. I'm guessing it doesn't like the fields.
How do I achieve what I want?