The problem is that if an item is not selected in a form,
it is not sent through to the script, so the script has no way
of knowing what it is missing. I would add a list of the
fields to your script, and go through them, and put the value in
from the form if it is there, and otherwise put just put
a comma like you want.