by synolia

Field Mask will be your greatest ally in formatting your SugarCRM data. This module improves the reliability of your data and saves time for your whole team by allowing you to use input templates to your information fields (zip code, phone number, etc.).

Free Trial

By clicking you consent to share your profile with the developer

#1094 - Two problems

Closed Bug? created by abtdoug Verified Purchase 9 years ago

I've setup a couple of fields with "case:MIXTE".

  • Typing text into these fields also yields the following javascript console error: Uncaught ReferenceError: upperCaseMixte is not defined

  • I can see the rule javascript applied in the output source to the Last Name field, but it's missing in the First Name field, even though it's defined in the plugin. <input accesskey="7" tabindex="0" name="first_name" id="first_name" size="25" maxlength="25" type="text" value="Doug" style="cursor: auto; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHklEQVQ4EaVTO26DQBD1ohQWaS2lg9JybZ+AK7hNwx2oIoVf4UPQ0Lj1FdKktevIpel8AKNUkDcWMxpgSaIEaTVv3sx7uztiTdu2s/98DywOw3Dued4Who/M2aIx5lZV1aEsy0+qiwHELyi+Ytl0PQ69SxAxkWIA4RMRTdNsKE59juMcuZd6xIAFeZ6fGCdJ8kY4y7KAuTRNGd7jyEBXsdOPE3a0QGPsniOnnYMO67LgSQN9T41F2QGrQRRFCwyzoIF2qyBuKKbcOgPXdVeY9rMWgNsjf9ccYesJhk3f5dYT1HX9gR0LLQR30TnjkUEcx2uIuS4RnI+aj6sJR0AM8AaumPaM/rRehyWhXqbFAA9kh3/8/NvHxAYGAsZ/il8IalkCLBfNVAAAAABJRU5ErkJggg==); background-attachment: scroll; background-position: 100% 50%; background-repeat: no-repeat;">

  • For the phone fields, setting a pattern results in blank fields being populated with the pattern that can't be changed. <input type="text" name="phone_work" id="phone_work" size="30" maxlength="" value="919-532-7666" title="999-999-9999" tabindex="0" ondblclick="this.value='';" style="background-color: white;"> Clicking this box erases the current value that's stored, and replaces it with the pattern.

Can you assist me?

Doug

  1. synolia-primary-contact member avatar

    synolia Verified Purchase

    9 years ago

    Hello,

    For the first point we will need further informations about your SugarCRM instance: the version, are there any developments implemented on the SugarCRM and if all the repair tasks have been executed post module install as instructed in the installation guide. It seems that the Javascript required by the module is not loaded on that page.

    For the second point; this usually happens when the values already stored are not compatible with the defined mask of the field. Can you give us an example of the mask (with its translation characters) and of a telephone number you are trying to validate.

    Best regards, Synolia Support

  2. abtdoug member avatar

    abtdoug Verified Purchase

    9 years ago

    We are using 6.5.20, with the following plugins: Google Sync SecurityGroups - Full Edition Captivea - Business accounts and partners QuickCRM Mobile Basic

    There a no customizations outside of the plugins on this install. I tried disabling the other plugins and running a new repair, but it didn't have any effect.

    Here are the masks that we configured. https://www.dropbox.com/s/0m35ngb2bgnqk2x/screenshot9.PNG?dl=0

    Here is the behavior we are seeing. The mast does not work on the Last Name field and the phone number fields are not editable, it only shows the mask in the field. https://www.dropbox.com/s/xywtogidureb0sk/Capture10.PNG?dl=0

  3. synolia-primary-contact member avatar

    synolia Verified Purchase

    9 years ago

    Hello,

    We managed to reproduce the bug you are encountering in only one situation: when the mask characters have been changed. Here is an example of the default characters.

    SynoFieldMask default mask characters

    If they have been changed, the module will not be able to "translate" the mask and will consider the character "9" as an enforced character of the mask instead of interpreting it.

    Please verify your configuration and let us know if this fixes your problem.

    Best regards, Synolia Support

  4. synolia-primary-contact member avatar

    synolia Verified Purchase

    9 years ago

    link to image : https://www.dropbox.com/s/78y7lsj0l5vhpa3/synoFieldMaskCaracter.png?dl=0

  5. abtdoug member avatar

    abtdoug Verified Purchase

    9 years ago

    I believe I found the problem, it looks like the Mask caracters configuration is empty and I don't have a way to add it.

    Screenshot

  6. synolia-primary-contact member avatar

    synolia Verified Purchase

    9 years ago

    Hello,

    The errors you describe come from missing configuration parameters. I recommend uninstalling the module and reinstalling it. Please make sure you have the latest version of the module.

    Best regards, Synolia Support

  7. abtdoug member avatar

    abtdoug Verified Purchase

    9 years ago

    Completely uninstalling and reinstalling fixed the empty configuration and the phone number issue.

    case:MIXTE is still not working for the First Name field only, it works everywhere else.

    Screenshot Screenshot Screenshot

  8. synolia-primary-contact member avatar

    synolia Verified Purchase

    9 years ago

    Hello,

    After analysing your problem there seems to be a bug with the first name field, and more generally with the fieldset type. We will plan a bug correction and let you know as soon as it's available.

    Best regards, Synolia Support

    • synolia-primary-contact member avatar

      synolia Verified Purchase

      9 years ago

      Hello,

      After investigations it's appear that Sugar push a custom code for this field and we can't capture this custom code unfortunately. By consequence we can note manage this case in this way.

      Best regards, Synolia Support

  9. synolia-primary-contact member avatar

    synolia Verified Purchase

    9 years ago

    Hello,

    After investigations it's appear that Sugar push a custom code for this field and we can't capture this custom code unfortunately. By consequence we can note manage this case in this way.

    Best regards, Synolia Support

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating