Making a currency field not writeable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1602

    Making a currency field not writeable

    Question obsolete, currency field can be configured readOnly, when field is not mandatory, which it was before in my entity.

    Hello, as the title mentions. Is it possible to set a condition to make a currency field not writeable after it has a value? In the field creating there is only condition visible, none of the other.
    Last edited by shalmaxb; 11-20-2023, 02:44 PM.
  • rabii
    Active Community Member
    • Jun 2016
    • 1250

    #2
    i have just checked and you can use Dynamic Logic to make field read only when certain condition happens.
    Rabii
    Web Dev

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      1. Create some boolean read-only field.
      2. In formula, set this field to true if your currency value is set.
      3. In dynamic logic, define a rule that makes the currency value read-only if the boolean field is true.

      This will allow to modify the field before saving.

      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...