Hide "salutationName" field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Laimonas
    Senior Member
    • May 2021
    • 197

    Hide "salutationName" field

    Hi guys,

    I want to hide the "salutationName" field through the UI, but it appears this is not such as easy task
    In the Layout, the "salutationName" field is a part of the "name" field and it is not possible just to take out the "salutationName" field from the Layout as any other field.
    Then I thought I will use dynamic logic and this field will disappear. Nop, it seems dynamic logic does not work in this field either.

    Any ideas on how to get rid of the "salutationName" field through the UI? Or how to force dynamic logic to make changes to this field?
    Attached Files
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hi,
    easy way : you can put firstName, lastName.
    more hard : create a view for field like "personName" (search personName on all directory of espoCRM)

    "fields": {
    "name": {
    "type": "personName",
    "isPersonalData": true
    },

    and file : person-name.js
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • Laimonas
      Senior Member
      • May 2021
      • 197

      #3
      item Great ideas, thanks!

      Comment

      • esforim
        Active Community Member
        • Jan 2020
        • 2204

        #4
        If you don't want to play with code... couldn't you just remove the Name field and add back "Firstname" and "lastname" field?

        Comment

        • JosNas
          Member
          • Sep 2021
          • 97

          #5
          You can go into Layout Manager and replace the 'Name' Field with the fields 'First Name' and 'Last Name'. Effectively, the name will only be made of those two.

          Example: First Name: John, Last Name: Doe >>> Name Field will be: John Doe

          Comment

          • Dozent
            Junior Member
            • Oct 2022
            • 8

            #6
            How to hide salutationName a field in version 7.2.4?

            Comment

            • Vadym
              Super Moderator
              • Jun 2021
              • 345

              #7
              Hi Dozent,

              Perhaps screenshots will be helpful:

              Click image for larger version

Name:	image.png
Views:	372
Size:	57.3 KB
ID:	85342Click image for larger version

Name:	image.png
Views:	316
Size:	57.9 KB
ID:	85343Click image for larger version

Name:	image.png
Views:	320
Size:	28.8 KB
ID:	85344​​​

              Comment

              Working...