Cascading dropdowns in google forms - google-sheets

Is it possible to have cascading dependent dropdowns (like Country and City select options) in Google Forms?
I searched and found some ways to do it using google spreadsheets, but I could not find a way to do so using google forms
Is it at all possible?

I don't know a way to do it with just google forms, but it is possible with Google HTML Service forms. Here is a simple example. Very basic. You can do much more, but I think is does what you are after.
https://docs.google.com/spreadsheets/d/1rQ-yfZJEk7Y4OnxqyXFCHrxaFPLhjIPmYoQw5SJV5OA/edit?usp=sharing

Use the "Go To" functionality. Based on the response to the first drop down, route the user to the appropriate section with a drop down with the desired values.

Related

Looking to add a dynamically adding rows table with multiple fixed columns which can fill value's to Google form and bring response to Google Sheets

I'm trying to create a table with editable cells in a google form that lets people enter their response. It would have multiple fixed columns and dynamically adding rows for more response.
Sample image of the desired table in google form for response
I am naive about building google forms and running scripts/codes on forms. A detailed explanation of steps will be of good help.
Thanking in advance to wonderful people who do such fabulous work
At the moment it is not possible to insert tables in Google Forms, not even via Apps Script, but since you are interested in learning about Forms and Scripts I would recommend you start with this quickstart about managing Form responses.
If you explain perhaps with more detail what your goal by inserting the table is, maybe there is a way with the available options in forms to achieve it.

Handling hidden input on Google Sheets

How would you tackle the following problem, using Google Sheets:
User A and B bot need to submit an input (some text) to a shared sheet. The input must be hidden from the other user until both have submitted. Both users can change the input until the reveal, but not afterwards. Think of it as simultaneous action selection, except it's on different time zones so we can't just shout one two three go.
Currently, we are using salted hashes. That is inefficient and time consuming. I'd like to automate it. However, I don't know of any tool inside Google Sheets that allows you to hide inputs from other users under certain conditions, or anything that locks the input after both submit either (the submission shouldn't be tampered with unless both users agree, unless it's done before the other user submits).
This might need to be done with external coding, and I'm up to that (although I currently have no idea how to integrate it in google sheets). However I have never programmed something that read input from anything other than a terminal (or a txt file that one time it was required in class) so please provide some reference for that too. :)
Many thanks in advance!
Use a Google Form as the input tool. Then after both users have sent the input, share the spreadsheet with them. This could be done manually or with Google Apps Script.
References
Create a survey using Google Forms - Docs editors Help
Extend Google Docs, Sheets, and Forms with Apps Script - Docs editors help

Grid ordering best practice on websites

The question relates to the way in which rows are ordered in a grid when each column has an ascending or descending sort button. We're wanting to develop this in a way that is "industry standard" or "best practice".
Say we have four columns: Region, Country, Town, Street.
The user wants to sort by Country and then Town.
Do they:
Click the sort button on Town followed by Country or
Click the sort button on Country followed by Town
In many ways the former is easier to develop because each time a sort is clicked we can simply bring it to the front of the list, keeping about three in the list.
Is there even a standard way of doing it, if so what is it?
There is no standard way of doing this that I know of, and you would most likely want to use an third party library to achieve it. It is a very complex process to create a functional grid UI so two libraries that you might want to look at is JqGrid and Telerik's Kendo UI grid examples. The JqGrid is a free third party library and Telerik lets you trial their libraries.
For multiple sorting with kendo UI you can find it in the documentation and JqGrid is in the same link under searching/filtering multiple fields for the example click on the search icon and with it should give you an option to search by multiple columns.
Here is a image from the JqGrid multiple column search/filtering example to better explain.

linking fusion tables visualizations, offering search over fusiontables

So I've got a couple of different fusiontable visualizations in a google site:
https://sites.google.com/site/hlsbeta123123123123/
I am wondering if there is a way to link them so that when a pin in the map is selected the corresponding card is shown in the other iframe?
What I'd really like to be able to do is offer people a search over the fusion table via the google site, so that when somebody searched in the site search, they'd get back a list of hits in the map and cards, and have them all linked up together ... Any simple way to do this over paired visualizations or would this have to be custom site built on the fusiontables API?
I know fusion tables wizard:
http://fusion-tables-api-samples.googlecode.com/svn/trunk/FusionTablesLayerWizard/src/index.html
can provide something like this for a single visualization, but am unclear about linking multiple visualizations - maybe that's just completely impractical ...
Many thanks in advance
Cheers> SAM
p.s. Here's a current screenshot in case it the site changes :-)
It's possible, but instead of the iframe-map you must create the map on your own to be able to modify the default behaviour(opening of the infoWindow on click and load the filtered card instead).
It's not much difficult, the most of the src you will get with map->publish->get HTML and javascript
All you have to do is:
supress the infoWindows(set the suppressInfoWindows-option of the layer to true)
observe the click-event of the layer and load the card based on a unique col(Charity Number appears to be unique)
google.maps.event.addListener(layerl0, 'click',function(e){
document.getElementById('cards')//iframe-element
.src='https://www.google.com/fusiontables/embedviz?viz=CARD&q=select+*+from+1ZnLJPfdXgiD49s3JO9Vyhf0VPGgBnzs-985jT3s+where+col1+%3D+'+e.row['Charity Number'].value+'&tmplt=4&cpr=1';
});
Demo: http://jsfiddle.net/doktormolle/YVnus/
But actually showing the cards in an iframe forces a redundant request, instead you may fetch the contents of the infoWindow and insert them directly into the page.

How to filter the drop down list by using other drop down list in asp.ner MVC

everyone, I encounter a problem when I try to filter the drop down list.
The situation is I wish to filter the Agent dropdown list by using the Company dropdown list in same view/form. Since I need to display the Agents that only belong to the selected Company. But I have no idea to do that.
Any solution, please?
Look at this 2 link's they may be helpful
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/CascadingDropDown/CascadingDropDown.aspx
It's ajax toolkit with control you want.
http://stephenwalther.com/blog/archive/2008/08/24/asp-net-mvc-tip-37-create-an-auto-complete-text-field.aspx
artical how to use ajax toolkit with mvc.
Hope this will help

Resources