Create a new custom field type that adds multiple fields like 'Address' does

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JosNas
    Member
    • Sep 2021
    • 97

    Create a new custom field type that adds multiple fields like 'Address' does

    Hello, is it possible to create a new field / field type that itself contains multiple fields?

    For example adding a new field in Accounts of type Address adds street, city, state, postal code and country.

    I'm looking to create one new type called Property such that a new field of type Property adds Property Location, Property Area Size, Property Number, and Property Type.

    Can this be done? And if so how?

    I was trying to refer to the docs at Custom field type - EspoCRM Documentation but I wasn't successful. ​
  • rabii
    Active Community Member
    • Jun 2016
    • 1250

    #2
    check out how the address field is built and just follow the same steps to create your own. it is doable just need coding.
    Rabii
    Web Dev

    Comment

    • telecastg
      Active Community Member
      • Jun 2018
      • 907

      #3
      Hello,

      Yes it is possible but requires coding.

      If you decide to go that way, this post might help. https://forum.espocrm.com/forum/deve...5113#post65113

      Comment

      • esforim
        Active Community Member
        • Jan 2020
        • 2204

        #4
        Going into coding territory! You must be brave, hope you share the information once you got it to work/complete.

        Comment


        • JosNas
          JosNas commented
          Editing a comment
          I will share if I manage to make it work
      Working...