Join Slack
Powered by
Looking at ColdBox Validation docs, there are opti...
# box-products
p
Patrick S
11/11/2022, 7:12 PM
Looking at ColdBox Validation docs, there are options for sameAs and sameAsNoCase, but there isn't the opposite? (i.e. if field1 and field2 are the same, invalidate it)
l
lmajano
11/14/2022, 10:03 AM
Good point!
lmajano
11/14/2022, 10:03 AM
adding a ticket
👍 1
lmajano
11/14/2022, 6:20 PM
Ok, I knocked this out
lmajano
11/14/2022, 6:21 PM
https://github.com/coldbox-modules/cbvalidation/blob/development/models/validators/NotSameAsValidator.cfc
lmajano
11/14/2022, 6:21 PM
Will be in the 4.1 release
p
Patrick S
11/14/2022, 7:04 PM
Awesome! 🙂
Open in Slack
Previous
Next