You could create a UI only formula field with checkbox result that determines if the two are equal. Then add a Rich text component that displays the warning and is conditionally rendered based on the UI formula field being true.
You could create a UI only formula field with checkbox result that determines if the two are equal. Then add a Rich text component that displays the warning and is conditionally rendered based on the UI formula field being true.