AnsweredAssumed Answered

How to Auto-Enter Popup Picker when Found Count is 1

Question asked by starstuff on Jun 18, 2015
Latest reply on Jun 18, 2015 by starstuff

Title

How to Auto-Enter Popup Picker when Found Count is 1

Post

Hi All!

im want to add auto-enter in Popup Picker, if Found Count is 1 on the list.

the popup-picker is this
http://filemakerhacks.com/2011/05/09/popup-pickers/

 

here is the Demo File http://kevinfrank.com/fmh/popup-pickers.zip
it auto filters the search result as you type "search terms",

example i have a product list of
Apple
Banana I
Banana II

Case I
if i search, type "App" in Popup Picker it will list only Apple, i will have 1 listed
item on the list and i would like an auto-enter to trigger, adding this in the LINE items

Case II
if i type "Bana", 2 items will be listed Banana I and Banana II, no
auto-enter here because there is 2 item
 then i add Bana with " II " in the search field, i will get Banana II ( 1 listed
item on the list)
and auto-enter will trigger and add this in the LINE items
 

is this possible to do?

 

Thank You!

Outcomes