Need to show or hide fields or panels based on the value of another field? For this requirement Dynamic Panels is the perfect solution. The advanced configuration tools allow you to clearly define what should happen whenever a field value changes.
#2176 - Hiding some custom fields
Hi!
We are using suiteCrm version 7.9 and the dynamic panel version upgraded from 2.2 to 4.0 we have some custom fields in our view form and custom javascript to show or hide them. The custom code is not a field in the database but custom code not related to the verdefs. The problem is that when we apparate a change on any other field in the form, our custom field is hidden automatically and will not appear. We will be happy to find out how to solve this. Thanks
5 years ago
This is the custom code of the field displaying some personal used inputs.
~array( 'label' => 'LBL_XXXX', 'name' => '', 'customCode' => '
{$MOD.LBL_CARNET_GOODIES_WARNING}
{/if} {foreach from=$carnet_goodies_list key=goodies_key item=goodies_name} : {$goodies_name} {if $inputTourismCardNumbers && $goodies_key == "cartes_de_tourisme"} ( {$MOD.LBL_CARNET_CARD_NUMBERS}: ) {/if}{/foreach}
when the dependances are not set for that module we can see our custom fields but when we set some dependance on other fields in the same form, any action on those fields will hide our custom fields.
We will be happy to get help from you as soon as possible so we can go forward on something elle.
Thanks
5 years ago
array( 'label' => 'LBL_XXXX', 'name' => '', 'customCode' => '
{$MOD.LBL_CARNET_GOODIES_WARNING}
{/if} {foreach from=$carnet_goodies_list key=goodies_key item=goodies_name} : {$goodies_name} {if $inputTourismCardNumbers && $goodies_key == "cartes_de_tourisme"} ( {$MOD.LBL_CARNET_CARD_NUMBERS}: ) {/if}{/foreach}
5 years ago
array( 'label' => 'LBL_XXXX', 'name' => '', 'customCode' => '
{$MOD.LBL_CARNET_GOODIES_WARNING}
{/if} {foreach from=$carnet_goodies_list key=goodies_key item=goodies_name} < input name="goodies_qty_{$goodies_key}" id="goodies_qty_{$goodies_key}" type="number" min="0" '. 'value="{if $carnet_goodies.$goodies_key}{$carnet_goodies.$goodies_key}{else}0{/if}" '. 'style="width: 40px"/> : {$goodies_name} {if $inputTourismCardNumbers && $goodies_key == "cartes_de_tourisme"} ( {$MOD.LBL_CARNET_CARD_NUMBERS}: < input name="goodies_identifiers_cartes_de_tourisme" '. 'id="goodies_identifiers_cartes_de_tourisme" type="text" '. 'value="{$carnet_goodies_identifiers.$goodies_key}" style="width: 400px"/> ) {/if}{/foreach}
5 years ago
Hello,
is it possible to give us access of your SuiteCRM, FTP Details and Database access if you don't mind?
If yes then please send us details on "info@varianceinfotech.com".
If you provide us details then it'll be easy for us to understand your issue and you'll get quick solution.
Regards, Variance Infotech PVT LTD
5 years ago
I send an email but you haven't responded yet.
5 years ago
Hello,
We didn't got any email from you yet.
Can you please resend it again.
Regards, Variance Infotech PVT LTD
5 years ago
I sent it again please have a check. Thanks
5 years ago
It has been fixed. Thanks for your support.