Field Validation in the same table (entity)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hamilton
    Junior Member
    • Jul 2018
    • 16

    Field Validation in the same table (entity)

    Hello guys,
    I need to validate a field as follows: I need to validate if a given field (or more) is already registered in the same table (entity). If it is already registered do not let save and show error message.
    How I do it?
  • telecastg
    Active Community Member
    • Jun 2018
    • 907

    #2
    Try using dynamic logic as follows:

    Administration > Entity Manager > {your entity name} > Fields > {your field name}

    In the field editing window go to the Dynamic Logic panel (bottom) and click "Edit" in the " Conditions making field read-only" line and enter {your field name} Is Not Empty.

    The above will turn your field read-only if it has a value already.

    Comment

    Working...