Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3059 Näkymät

hello, i have 2 models author and books and i need that when i select an author only books of this author appear i have tried to use the domaine but the value is static i need that to change dynamicly depending to the author filed 

Avatar
Hylkää
Tekijä

thanks, i'm trying

Paras vastaus

Hi,

You have two options, one is two return the domain using onchange function(this has been removed from latest version), and the second option is to use the web domain field module.

Method 1 : https://www.youtube.com/watch?v=IpXXYCsK2ow

Method 2: https://www.youtube.com/watch?v=dq5Vtj_pwuI

Thanks

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
kesäk. 25
3989
1
elok. 23
2197
0
heinäk. 21
1578
0
syysk. 16
3453
0
syysk. 24
1238