Announcement

Collapse
No announcement yet.

Conditions making field visible

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Conditions making field visible

    Is it possible to add conditions making field visible in formula?

  • #2
    Hello
    No. Field visibility could be only set in Entity Manager > {Entity} > Fields > {Field} > Dynamic Logic
    In this video, learn how to create a custom entity, edit existing ones, manage fields and relationships.

    Comment


    • #3
      Originally posted by tanya View Post
      Field visibility could be only set in Entity Manager > {Entity} > Fields > {Field} > Dynamic Logic
      It's a lot of work if you need the same 15 conditions to apply to 20 different fields. It would be a lot better to just write it in the formula or at least there could be a text field for Dynamic Logic. Could this feature be implemented in the future?
      Last edited by TitasB; 08-10-2017, 10:56 AM.

      Comment


      • #4
        I don't think so.
        Create conditions for one field, go to custom/Espo/Custom/Resources/metadata/clientDefs/{Entity}.json, set the same conditions for other fields

        Comment


        • TitasB
          TitasB commented
          Editing a comment
          Okay, thanks

      • #5
        This can help: https://github.com/espocrm/documenta...namic-forms.md

        Comment


        • #6
          I am trying to adjust the conditions through custom/Espo/Custom/Resources/metadata/clientDefs/{Entity}.json, but they don't change when I upload the file, what am I doing wrong?

          Comment


          • #7
            * Need clearing cache;
            * Syntax error in json;
            * Logic defined improperly.

            Comment

            Working...
            X