How to use Confiforms Field Definition Rules with Validation rule (dataset)

Michael Confessore December 1, 2020

I have a Confiform TableView that is populated with data and I’m looking to run a check to prevent a new record from being added to the table if a field in the record matches one already in the table. I believe that the “Validation rule (dataset)” option on the Confiforms Field Definition Rules is the right approach, but when I set the condition:

myField:[entry.myField]

the condition is always true and the record is never allowed to be added. What is the proper syntax for the comparison of the new record’s field value to existing field values in the table?

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 1, 2020

Hi

This is a correct way to check, but you need to check for count also

In the condition parameter you will need to put the following expression

myField:[entry.myField] AND _count:>1

Alex 

Michael Confessore December 2, 2020

Worked perfectly, thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events