The previous application appends each response to the Responses
Sheet. But, we need to update the count against each choice. If we can make the selected choices increment by a counter then we can use the same application for e-voting purposes.
Edit the labels/headers for column A and B in the Places
sheet as follows:
Update the HTML code in the Form.html
file as shown here:
<!DOCTYPE html> <html> <head> <base target="_top"> <link rel="stylesheet" href="https://ssl.gstatic.com/docs/ script/css/add-ons1.css" /> <script src="//ajax.googleapis.com/ajax/libs /jquery/1.10.2/jquery.min.js"></script> <script> $(function(){ $("#btnSubmit").click(postData); }); function postData(){ // Remove previous messages if any $("#error,#success").remove(); // Disable the submit button until server returns // anything. this.disabled = true...