Forum Discussion
Here is a formula that should work. It seemed to test OK for me. I actually suggest you change your 7 fields to the field names I have used, paste in this formula to a formula text and then you can rename your fields to whatever you want and the formula will auto adjust to the new names.
In order to block the save on blanks or duplicate rankings, you can either use a form rule to Abort the save, or in the advanced settings you can use custom data rules.
The formula makes use of Formula Variables (see link) which makes the formula much easier to read and maintain, compared to a giant single long formula..
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
Since you're doing it on the form you could also consider making different form rules with something like:
When Input 1 is not blank
and any of the following are true:
input 2 is equal to the value in input 1 or
input 3 is equal to the value in input 1 or
input 4 is equal to the value in input 1 or
input 5 is equal to the value in input 1 or
input 6 is equal to the value in input 1 or
input 7 is equal to the value in input 1
Change the value of Input 1 to blank
Rinse and repeat for each element swapping out the inputs with like:
When Input 2 is not blank
and any of the following are true:
input 1 is equal to the value in input 2 or
input 3 is equal to the value in input 2 or
input 4 is equal to the value in input 2 or
input 5 is equal to the value in input 2 or
input 6 is equal to the value in input 2 or
input 7 is equal to the value in input 2
Change the value of Input 2 to blank
This way it actually restricts them from entering the same value twice while they're entering data.
------------------------------
Chayce Duncan
------------------------------
- MyoshiaBoykin-A2 years agoQrew Trainee
These form rules worked perfectly fine and were easy for me to implement. Thanks so very much for this.
------------------------------
Myoshia Boykin-Anderson
------------------------------