You would change a couple of things. First, in Freeway, you would
select your picking list and apply the FormFix Action to it. Freeway
does a couple of things wrong with respect to picking lists, and this
fixes them. You set the ID that you want your picker to have in the
Name field in the Inspector, and the Action takes care of applying
that ID and also fixing up some glitches in the way that Freeway
generates the picking list control.
Second, you would need to make sure when you make that picker that you
fill in the Value side of the interface, not just the Choice side (in
the Inspector, third tab from the left when the picking list is
selected).
Finally, you would need to change the event that the script observes.
Where it currently checks on ‘keyup’, you would switch that to
‘change’. So this line:
filter.observe('keyup', function(e) {
becomes
filter.observe('change', function(e) {
I’m pretty sure that will do the trick. The only thing to remember is
that this filter only looks for text that is in your table, so
whatever you enter in the Value side of each picking list option will
have to be present in the text within the table in order for the row
to show. Also, the picker needs a neutral “All” option as its default,
with no value.
Walter
On Nov 10, 2010, at 2:55 PM, Johannes Bremicker wrote:
Hey again,
Walter, what do I have to change in the Protaculous Code, if instead
of a Text-Field I would want to use a Menue/List?
Greetings and Thanks,
Johannes
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options