php - Drupal form filter -


i have created basic drupal form. want, if example ingenieur student choose training industrial sciences must al titles of books appear. but, if economics student choose training business must al titles of books appear business , not titles of industrial sciences or others. think filter fix problem. have link tutorial?

thanks in advance!

without knowing specifics, catch-all solution implement hook_form_alter specific form, way switch id of vocabulary/list options loaded depending on roles user has/group user belongs to, here an example.

however if know more specifics, there may more targeted solutions existing.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -