⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

how to create double dependency dropdown in grossary crud?



bhuvnesh

bhuvnesh
  • profile picture
  • Member

Posted 17 August 2018 - 10:31 AM

Hi,

 

Iam new to grossary crud, I want to create a double dependency dropdown with hard code 

 

$crud->field_type('trc_type','dropdown',
array('1' => 'debit', '2' => 'credit'));

 

 

if in dropdown if i select "debit" from dropdown it should display merchantnames x,y,z

and if i select "credit " it should displaY merchant names a,b,c

 

Please help me..


Julio

Julio
  • profile picture
  • Member

Posted 29 August 2018 - 01:38 AM

Hi,

Feature available on version 2.6.1.

More info here: https://www.grocerycrud.com/enterprise/api-and-function-list/set-dependent-relation