Progressing forward and backward in the rate.html both stores the value (courtesy of Tony, and cleaned up a bit by myself for better readability) and selects the options for the opinion, familiarity, and star rating questions. I may consider putting that into a seperate function on its own. There wasn't error-handling in that one. What's left for rate.html is to handle the JSON handling but first, survey.html may require to send its data to rate.html, to be done by Tony. Good night everyone; we're almost there.
Did the controls and checks for the last entry of the product items and converted it to a JSON object that holds each item's attributes as a whole from productItems array.
Made everything civilized and product-related. Started the HTML version of product-admin.html and entered dummy data for now via the admin.js file. Still looking into those other options because they are not intuitive. Cheers.
Basic validation of survey responses. Checks to see if everything is filled out before allowing them to begin rating. Results are made into a json string. Further validation of age and awareness questions will need to be done.
Merge branch 'tonyEdits' into development
Basic validation of initial survey implemented. Further tests for valid age ranges and awareness questions to be done later. Results of survey are converted to json string after user presses the submit button. As of right now, the json string is just waiting to be passed.