Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

drop down, select, scroll, select ability

Hello, how can I create a double drop down button. I have a form and I want users to select county but they have to select state first. So they select state, then that selection shows them list of counties in that state, then they select 1. Entry will go to appery db and is part of a larger form.

In my db, I have a collection of with variables state, county

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

drop down, select, scroll, select ability

What's a double drop down? Are you referring to something like this: http://docs.appery.io/tutorials/build... ?

Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

drop down, select, scroll, select ability

yes, thanks.

Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

drop down, select, scroll, select ability

This was not very helpful. I have 'state' & 'county' data stored in collection A. In my UI form, I want to click on drop-down, select state, then have counties show up. Select county and have that populate NEW collection B. Is that possible?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

drop down, select, scroll, select ability

Hello! Yes, it's possible - on change value event of first select invoke service to retrieve counties for selected in first select state. Service response map to the second select.

Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

drop down, select, scroll, select ability

Can you give me a little more detail? On drop down list, change value doesn't give me the option to 'invoke service'

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

drop down, select, scroll, select ability

Take a look at the screenshot Image

Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

drop down, select, scroll, select ability

so first invoke list service to find states, then second invoke list service to find counties? Can you point me to a tutorial on this. Your instructions are cryptic!

Nalini
Posts: 0
Joined: Tue Jan 14, 2014 2:49 pm

drop down, select, scroll, select ability

Please point me to the tutorial on this. Your responses are cryptic and very frustrating...

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

drop down, select, scroll, select ability

Hi - yes you're right, on event of the first mobile select (state) -- 'value change' - invoke the service 'countries'. Make mapping of the results to the appropriate select fields.

Return to “Issues”