Google Forms and Responses for Multiple Checkbox Grid - google-apps-script

I'm looking for a way to eliminate checkboxes from a multiple-choice grid after someone submits a form. The multiple-choice grid option allows the user to select any box from any row and any column.
for this example, I have a 5x5 grid and if a user selects one or more checkboxes from any column or any row I would like for the form to show only the boxes that are available after each form submission.
so if row 1 column 2 is checked and submitted, the next time the form is viewed it should show row 1 column 2 as unavailable. How can I accomplish this using Google Forms and Google Sheets? Is there a formula that is needed in sheets that will get the desired results?

Your goal is not possible because when using Tick box grids you can only set or eliminate a whole row/column. The methods setRows(rows) and setColumns(columns) from the class CheckboxGridItem will accept an array of values to build the Tick box grid, there is no method to set/eliminate an specific checkbox/value.
As a recommendation, depending on your project and what your final goal is, you could have the checkboxes directly in your Spreadsheet.

Related

How to Create a Continuous Form in Access VBA with variable number of Text Boxes

I know how to design a Continuous Form in Access VBA 2010 with adding a number of Text Boxes and setting the Form Default View as Continuous Form and then setting the Form's Record Source to a Query. So the data would be shown in a Grid Format perfectly. However, I want to add these Text Boxes dynamically, means the query that's going to be bound to that form would have variable number of columns everytime depending on the selection in filters. So, how can I do that?
I don't want to set the Table or a query directly as the source of that form as I won't have the freedom of conditional formatting also.
The easy method is to create the maximum number of textboxes to be displayed, then hide those that you do not wish to display for the current filter.

Google Script: Using an input text box in a form that pulls items from the sheet and presents as options

I am currently developing a program in Google Script that works with Google Sheets. I've created a tab that serves as the UI and have multiple tabs for each data type to store the data.
When I first started, I originally reserved some cells on the UI tab that I used as the inputs for creating a parent-child relationship instance. To do this, I directly set validation on each of the cells and used the "List from a range" Criteria to provide the drop-down list to provide the options to select from.
Now, I am trying to move this input off of the cells in the UI tab and into the sidebar. I am now using HTML Service and am creating a form to handle this functionality. However, I can't figure out where to get started to provide the same drop-down functionality for each of the text inputs in the form as I had when I used the cell validation.
Does anyone know what syntax is used to do this?
Thank you,
Nicholas Kincaid
jQuery auto-complete combo-box is what will take care of this => jqueryui.com/resources/demos/autocomplete/combobox.html

MS Access VBA hide or delete row from form but not table

I use a form to edit a table. What I want to do is once a checkbox in the form is ticked or a field is filled out with some text I want to hide / remove this row from the form view but not delete the row from the table itself. Is this possible with VBA?
You don't really need to resort to VBA to accomplish this.
Base the form on a query that filters out those records with the appropriate field filled in. Then when you next call the form those records checked will not appear.
It is good practice to have all forms based on queries (apparently)

Grab current selection from a google form section

I have a google calendar that lists multiple free classes that are available each month. Currently the way people sign up is that they click on a link to a google doc and enter their names, but a blank work doc with names isn't very professional. Instead I'm created a google form that will send the responses to an excel spreadsheet, but need some help.
Currently the form first question asks "what date is the class you'd like to addend?" - Is there any way I can get the users response to that first question without having them submit the form?
Essentially I'd like for them to enter the date and use the getEventsForDay(date) function to create the second question dynamically populated with the calsses for the date they selected. Then have them choose the class with radio buttons. Is there any way to do this or would I have to have them select a date and then from that submit spawn a new on the fly form that then would list the classes for the date they selected?
For what I know you can't do that in a single form. You will need to do it with 2 forms. You can prefill the other form with some informations of the first form to make the bond.
But the best solution is: not to use the Google Forms and build your own form in apps script. Here an example and the code here.

Google Form Script User input grd row

When creating a grid question using Google Forms, how can I make the users input the rows?
On the second page of this form:
https://docs.google.com/forms/d/1uPqAWB5lqEZpCX64E4LP-Mfg_FE3atdPgCMQ36OsoTM/viewform
There's Row 1, Row 2, Row 3, and Row 4.
How can I make Row 1, Row 2, etc. a user input field? Is it through the Form Script?
If you are expecting that a grid will behave like a spreadsheet (where cells are text input boxes), prepare to be disappointed.
Google Forms does not support this functionality, and Google Apps Script does not provide any Form items that are not already provided through the Forms UI.