Hello, I ask for a way to solution:
I've correcly configure these dropdown. Now SOTTOGALLERIA dropdown view only the subgalleries of GALLERIA

I would like add a "conditions": if GALLERIA = NONE, in SOTTOGALLERIA Dropdown I would see ALL subgallery, ELSE I would see the subgallery of GALLERIA selected.
Where I work to reach the goal?
If you need I add another screeens.
Thank You.
I've correcly configure these dropdown. Now SOTTOGALLERIA dropdown view only the subgalleries of GALLERIA

I would like add a "conditions": if GALLERIA = NONE, in SOTTOGALLERIA Dropdown I would see ALL subgallery, ELSE I would see the subgallery of GALLERIA selected.
Where I work to reach the goal?
If you need I add another screeens.
Thank You.
Have a look at the dynamic dropdown demo.
Sure
Sorry, but the DYNAMIC action in CF6 is a SWITCH in CC6?
The list of my subgallery dropdown is a READ DATA, what I take in OPTIONS of dropdown?






The list of my subgallery dropdown is a READ DATA, what I take in OPTIONS of dropdown?







Ok, I've correct thanks this tread https://www.chronoengine.com/forums/posts/t106454/cc6-dynamic-dropdown-for-filtering-table?keywords=dynamic%20dropdown
I' ask if you can help me to below code:
I tried this without success
I' ask if you can help me to below code:
switch($this->data('gallery_sel')){What I insert instead the variable?
case '':
$options = {var:dropdown_search_subgallery_all};
break;
default:
$options = ['N/A' => 'Please select one'];
}
return $options;
I tried this without success
$this->set('dropdown_search_subgallery_all', $this->get('dropdown_search_subgallery_all'));
Can't use shortcodes in PHP. Use the switch, just make sure the left part ("possible values") are actually correct. "Other than None" would be an asterix, like this *
This topic is locked and no more replies can be posted.