Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Filtering Autocompleter for Grigfield


Reply

255 Views

Avatar
Matulko

14 August 2012 at 1:20am Community Member, 9 Posts

hello

is any way how to filter autocompleter suggestions

on my page i use several types of sizes (sizes for product A are not same as sizes for product B)
it depends on parent class ( dataobject Size has one productType and many_many products )

is there any way when i need use same class for all types of product but i need suggest only sizes which has productType $this->ID

i hope somebody understand what i want to say, thanks :)))