Hi, I am working on a survey app that sends checkboxes conditions; that is True or False to a Google Spreadsheet, my survey has five sections with multiple questions totaling 42 options and I am trying to use the “Don’t Repeat Yourself” concept to keep my app small and easy to maintain, I have managed to implement this concept when clearing my checkboxes once data has been sent though since I have to use a checkbox name an a checkbox checked condition for each question my blocks get very large, to illustrate this condition I am attaching an image of my blocks with only 8 checkboxes, could you please give me an idea on how to implement this same concept when using call Web1.PostText
Why do you want to change the text content of your posttext ?
You need to send your apps script a parameter and a value for each item. Once you build the join text you don't need to touch it again.
You could build a procedure that builds the join text if you want to...
output:
checkbox1=false&checkbox2=false&checkbox3=false
Thank you, I'll work on my blocks to get what I need
1 Like
Thank you very much, my code is working now as I need it, great help
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.