Textbox: Set variables as default values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amu
    Junior Member
    • Apr 2017
    • 2

    Textbox: Set variables as default values

    Hello, dear Espo Community,

    I am currently trying to find a solution for a challenge and I hope that you can help me with it.
    In some cases, it is necessary to work with Excel internally. To do this, data from Espo must often be copied to Excel. I would like to make this copying process easier by creating a free text field in the lower part of the Contact Details page that contains these values.

    It should therefore be a text field that contains variables as default values.
    Example: {Contact.Name} {Contact.LastName}

    Is this possible in principle? How can I access the variables using the Default values field?

    Thank you for all your help.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello

    You can use Formula for this https://www.espocrm.com/documentatio...ration/formula
    someField = string\concatenate(firstName, " '", middleName, "' ", lastName); Your text field will be set before saving.

    Comment

    Working...