Simple Survey Code for saving vals in db with variable fields and questions