I try to hide a block conditionally.
The start code is:
I must do something wrong, it doesn't work.
With debug I get the following data array (shortened):
Array
(
[list][option] => com_chronoconnectivity
[Itemid] =>
[chronoconnection] => medewerkers
[task] => cc_edit_data
[cb] => 571
[medewerkers_ext] => Array
[list](
[gewicht_id] => 3
)[/list]
[/list]
)
Rob
The start code is:
<?php
if ( $form->data['medewerkers_ext']['gewicht_id'] == '3' ) {
?>
I must do something wrong, it doesn't work.
With debug I get the following data array (shortened):
Array
(
[list][option] => com_chronoconnectivity
[Itemid] =>
[chronoconnection] => medewerkers
[task] => cc_edit_data
[cb] => 571
[medewerkers_ext] => Array
[list](
[gewicht_id] => 3
)[/list]
[/list]
)
Rob