by Variance InfoTech Pvt Ltd

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.

Cancel at any time!
Free Trial

#2176 - Hiding some custom fields

Closed Bug? created by vpc Verified Purchase 4 years ago

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

  1. vpc member avatar

    vpc Verified Purchase

    4 years ago

    This is the custom code of the field displaying some personal used inputs.

    ~array( 'label' => 'LBL_XXXX', 'name' => '', 'customCode' => '

    {if !$carnet_goodies}

    {$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

    • vpc member avatar

      vpc Verified Purchase

      4 years ago

      array( 'label' => 'LBL_XXXX', 'name' => '', 'customCode' => '

      {if !$carnet_goodies}

      {$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}
      ', ),
  2. vpc member avatar

    vpc Verified Purchase

    4 years ago

    array( 'label' => 'LBL_XXXX', 'name' => '', 'customCode' => '

    {if !$carnet_goodies}

    {$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}
    ', ),
  3. varianceinfotech member avatar

    Variance InfoTech Pvt Ltd Provider

    4 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

  4. vpc member avatar

    vpc Verified Purchase

    4 years ago

    I send an email but you haven't responded yet.

  5. varianceinfotech member avatar

    Variance InfoTech Pvt Ltd Provider

    4 years ago

    Hello,

    We didn't got any email from you yet.

    Can you please resend it again.

    Regards, Variance Infotech PVT LTD

  6. vpc member avatar

    vpc Verified Purchase

    4 years ago

    I sent it again please have a check. Thanks

  7. vpc member avatar

    vpc Verified Purchase

    4 years ago

    It has been fixed. Thanks for your support.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "After an issue with this module (MS SQL compatibility), the team behind Dynamic Panels has communicated in a very quick way and delivered me a plugin ..." - Televic Digital

    Read More Reviews